Richard Korts
asked on
CSS <ul> Bullets
I have a css where the bullets are missing on the <li> elements of a <ul>; I cannot change the css that does this, but I can appl my own css to override it.
How do I get the bullets (& indentation) back?
How do I get the bullets (& indentation) back?
You have to 'reaplly' those rules using CSS. Do you have a link or an example code block?
A link would help however if the styling is being done inline by scripting you might not be able to override.
Cd&
Cd&
ASKER
To all,
This is a Drupal theme site; don't know if you know about that, but they provide their OWN css style sheets so that everything conforms with the look & feel they designed.
Even if I could change their css, I don't want to because then it will get overwritten when there are updates.
So they let you use a file called local.css in which you can override their css for any specific style or element.
I just don't know the css to make <ul>, <li> "normal".
Thanks
This is a Drupal theme site; don't know if you know about that, but they provide their OWN css style sheets so that everything conforms with the look & feel they designed.
Even if I could change their css, I don't want to because then it will get overwritten when there are updates.
So they let you use a file called local.css in which you can override their css for any specific style or element.
I just don't know the css to make <ul>, <li> "normal".
Thanks
I just don't know the css to make <ul>, <li> "normal".
And we would know without a link to the page; seeing the theme; or having any access to the CSS or page coding... that would make us telepathic, God like creatures. Sorry we are just mortal Experts who need a link.
Cd&
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
To override the styles....
Just add !important to your new CSS...
Like this..
What this will do is this will override the existing CSS with yours by making it more IMPORTANT.
Just add !important to your new CSS...
Like this..
ul{
list-style-type: disc !important;
}
What this will do is this will override the existing CSS with yours by making it more IMPORTANT.
The above will overwrite ALL of your unordered lists.
That is not correct. It will only be applied to unordered list where there is no higher level of specificity like an id, class, or inline. Element declarations have the lowest level of specificity, so the only list affect would be thos with nothing applied and those applied by an earlier in the listing order element based rule.
Cd&
Cd&,
Good catch! You are right!
Good catch! You are right!