BestDayEver Fotografie
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Adding CSS to style.css not working, but works using new 4.9 editorIt’s actually the selector right above that has the affecting css code (I’ve attached a picture-link to illustrate). What I was trying to do was make the dropdown menu wider so a longer menu-item did not become two lines.
But this is a little beside my actual question…css actually does work, it just doesn’t work when it’s put directly in style.css. To illustrate I’ve removed the css from “additional css” and put it back in style.css.
When you now inspect with Chrome, you won’t see “width: 180px” under “.dropdown-menu > li ul” (and visually it also does not work)…but trust me it’s there in my style.css…
- This reply was modified 6 years, 11 months ago by BestDayEver Fotografie.
Forum: Fixing WordPress
In reply to: Adding CSS to style.css not working, but works using new 4.9 editor@sterndata thanks for the reply!
My style.css file is by now quite substantial after 3 years of tweaking ?? The CSS that doesn’t do anything was in a line somewhere in the middle of the file.
When putting that exact line in the “additional css” thing, it works instantly. By the way, that is the first and *only* line of custom css I’ve ever added – nothing else there.
I’m mostly wondering why all my CSS from the style.css is applied, but that extra line is not working straight as it should from style.css.
my website is https://www.20watt.nl and the affected CSS line is “.dropdown-menu > li ul”
- This reply was modified 6 years, 11 months ago by BestDayEver Fotografie.
Apologies, seems my topic looks slightly messy because of the code…
Thanks!