Custom CSS not applying

Custom CSS not applying was created by trogladyte

Posted 6 years 1 month ago #47177
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.

Replied by ced1870 on topic Custom CSS not applying

Posted 6 years 1 month ago #47181
Hi
you must put your code in Parameters >> Custom css :)
remove it from the bloc custom css area
CEd

Joomlack Webmaster and Developer

by ced1870

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

Replied by trogladyte on topic Custom CSS not applying

Posted 6 years 1 month ago #47184
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:6 years 1 month ago by trogladyte
Last edit: 6 years 1 month ago by trogladyte.

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

Replied by ced1870 on topic Custom CSS not applying

Posted 6 years 1 month ago #47186
this is explained in the doc ;)
then use the bloc selector, for example
#module1 li {
line-height: 48px;
}

Joomlack Webmaster and Developer

by ced1870

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

Replied by trogladyte on topic Custom CSS not applying

Posted 6 years 1 month ago #47190
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.

Replied by ced1870 on topic Custom CSS not applying

Posted 6 years 1 month ago #47191
it must be the ID and not the position name

Joomlack Webmaster and Developer

by ced1870

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

Time to create page: 0.660 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 605 guests and 2 members online