Is there any way to change default height of slider - css

I am using nuka-carousel slider but can't change the default slider height to 760px. Here is the link of that carousel. I tried to add initialSlideHeight but it does not help me.
https://reactjsexample.com/a-pure-reactjs-carousel-component/

I tried to use heightMode and initialSlideHeight, but I didn't have success either. As well as, changing the carousel' imgs height.
I searched a little bit at the repo, and found some issues that may causing this problem. Like this one:
https://github.com/FormidableLabs/nuka-carousel/issues/457
Maybe you should try to find another solution. Good luck!

Related

CSS fixed background issue when scrolling

So i recently got this CSS style for Facebook which is acting really wierd.
It's using a fixed background image and whenever i scroll it's doing this:
Click
Wierd thing is: This occurs on every style with a fixed background, if i completely remove said background the site works like a charm.
Still, I have no idea if it's just faulty code that causes the problem or if it's the browser itself.
I'm not that good at CSS but if I knew where to search or what could cause the issue, I could probs fix it myself.
Sooo... If anyone wants to take a look at the code, here it is: Click
Thanks in advance to anyone who decides to put up with my shit, heh
edit: changed link to Dropbox temporarily

iframe-resizer, issue in downsizing

I give davidjbradshaw iframe-resizer [this] a try and its working so well. But I am stuck with a problem that it is not downsizing. As mentioned in documentation, there are few height : 100% style in content css, which might have been a problem i believe. I can't modify that. So, Is there any alternate to solve this ? I tried setting manual height in publicApi before changing url in iframe but It can't accept autoResize false.
Any help will be appreciated.
Try the latest dev build, it has a new height calculation option that might help you.
https://github.com/davidjbradshaw/iframe-resizer/tree/dev#heightcalculationmethod

Fix position the span.bubble in css to the right

I'm creating an RGB slider using angularJS and rzslider but I have a little problem in here and need some help. I want the value box or the span.bubble in css to be fixed on the right side. Please see screenshot below:
Here's what I have now.
Plunker
I prefer css solution but if it's not possible, any solutions will do. :)
I figured It out after posting the question, I read the docs again. Here's the updated code.
Plunker
Instead of using the span.bubble css as the result output, I hid it and created
<span class="color-slider-result">{{color}}</span>
and changed the name of span.bubble to span.color-slider-result.

z-index and CSS issues

How do I set a specific section of a page (div section?) to be on top of another section? I tried adding a z-index on the CSS file but it's not working. Or maybe I'm adjusting the wrong CSS file. In the end, I am confronted with:
--- which CSS file do I adjust? (I'm using Firebug but now I'm not sure if I'm using it correctly
--- what exact code adjustments do I need to do?
This is a sample page: http://www.criminal-lawyers.com.au/offences/aggravated-assault. The testimonial box to the lower right part of the page gets covered by the brown area when you scroll down. The goal is to put it on top so it's not covered whenever you scroll down (I know I should better position it "absolute" instead, but that's not the goal).
Any feedback would be appreciated. Thanks!
Finally had it solved! Many thanks to all your comments below. Although some answers did not exactly solve the problem, there were concepts behind them that really helped.
You need to set z-index:21 on the div with id it_widget_content-11-background-wrapper which is the main container of the sidebar widget. That should solve the issue.
it's pretty simple, to this widget-background-wrapper sidebar-widget-2 add z-index:9999. sorry i would rather comment this, but reputation < 50.
Remove position:fixed on the classes
CSS file - wp-content/themes/Criminal-Lawyers-it/style.css
sidebar-widget-1
and
sidebar-widget-2
They will remain in place.
Just realised it may not be exactly how you want it to look :) However, even with correct z-index, it may look weird having them overlap the footer...

Zurb Foundation Top Bar 'min-height" wrong

I am in the process of using Foundation to create a website, and I have come across a problem that I can't seem to find the solution too. I have noticed that when expanded, some of my drop-downs get cut off in the Mobile Version of the Top Bar, and I was wondering if anyone had come across this issue, or had a fix for it. Did I do something in the CSS that made the JS no longer count all of the elements correctly?
You can see what I am saying here.
http://www2.100foldstudio.org
Just try this by adding in css.
.jScrollPaneDrag {
height:0px!important;
}
I think the link is break in theme
Update the link from
http://www2.100foldstudio.org/wp-content/themes/100foldstudio/_/js/functions.js
to
http://www2.100foldstudio.org/wp-content/themes/100foldstudio/js/functions.js
Figured out that if I add a List Item at the end of the main top bar section in "mobile" mode, and added a clearfix class to it, the js kicked in and started calculating the height correctly.
Thanks guys,

Resources