Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Changing CSS
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Changing CSS
#55085
Changing CSS 8 Years, 10 Months ago Karma: 0
I have tried to change the CSS for the captions by adding a class into the template.css file but it loads the CSS from the module afterwards so not applying the css as hoped.

Is there a way to get this working?
The administrator has disabled public write access.
 
#55087
Re:Changing CSS 8 Years, 10 Months ago Karma: 747
Hello,

Could you specify what custom CSS rule(s) were added and provide a link to a page where we can see the slider?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#55088
Re:Changing CSS 8 Years, 10 Months ago Karma: 0
Here is the CSS from Element Inspector...The first is from the module CSS, the second has been added to the template.css.
It is being developed locally so cannot easily show you.
But it is clear that it is loading the module CSS last as it is respecting the text-align: right;
I can also remove the background in the module CSS and then the template.css for the background is honoured.

.nivo-caption {
position: absolute;
left: 0px;
bottom: 0px;
background: #000 none repeat scroll 0% 0%;
color: #FFF;
padding: 0px;
width: 100%;
z-index: 89;
display: none;
opacity: 0.8;
box-sizing: border-box;
}
.nivo-caption {
background: #FFF none repeat scroll 0% 0%;
text-align: right;
}
The administrator has disabled public write access.
 
#55089
Re:Changing CSS 8 Years, 10 Months ago Karma: 747
For example add the following CSS rule:

BODY .nivo-caption {
background: #FFF none repeat scroll 0% 0%;
text-align: right;
}

and clean browser's cache.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#55091
Re:Changing CSS 8 Years, 10 Months ago Karma: 0
That worked perfectly thanks. Not seen this before, is the CSS now being loaded last with the body?

Now trying to work out what css to change so that the slide show does not go over the menus, which it currently does, z-index doesn't seem to be working, the header and menus are fixed, so maybe they are being ignored?
The administrator has disabled public write access.
 
#55092
Re:Changing CSS 8 Years, 10 Months ago Karma: 747
"BODY .nivo-caption" CSS selector has more weight then ".nivo-caption" selector.

If you have a problem with z-index, provide a link to a page where we can see it.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12