Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

Custom CSS not applying

More
8 years 9 months ago #47177 by trogladyte
www.ckdev.info/bellauto

I have added the following CSS to the module position in the area with the background car image. However, it does not apply to the module <li>...</li> code. I also directly changed the bootstraps.css file, but every time I update anythin gin that module position the file updates itself back to the original code.

li {
line-height: 48px!important;
}

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #47181 by ced1870
Replied by ced1870 on topic Custom CSS not applying
Hi
you must put your code in Parameters >> Custom css :)
remove it from the bloc custom css area
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago - 8 years 9 months ago #47184 by trogladyte
Replied by trogladyte on topic Custom CSS not applying
If I do that, then every <li> will take on that bigger line height, but I Only want it for that block. What is the per block Custom CSS for as opposed to the main Custom CSS area? Cheers

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Last edit: 8 years 9 months ago by trogladyte.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #47186 by ced1870
Replied by ced1870 on topic Custom CSS not applying
this is explained in the doc ;)
then use the bloc selector, for example
#module1 li {
line-height: 48px;
}

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #47190 by trogladyte
Replied by trogladyte on topic Custom CSS not applying
Thanks Ced

I added the following in Parameters | Custome CSS:

#image li {
line-height: 48px;
}

(image is the name in Template Creator of the position). However, the code isn't affecting the output still.

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #47191 by ced1870
Replied by ced1870 on topic Custom CSS not applying
it must be the ID and not the position name

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.195 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1372 guests and one member online