Hello everyone. I am just starting out with CSS and have been working on a friend’s website in WordPress, using an ecommerce theme. I have been trying to create a small blue heart image in between the navigation menu categories across the top, but have been only slightly successful.
I am trying to remove the image in front of the following text (on top): Home, Search, Login, Register, and before the image of the shopping cart.
Also, I would like to remove the image before the first word of each category line (currently “All Products,” and “Simply Swarovski”). It’s possible that more categories may be added in the future, which would then change the first category name in the second line. Then have the 2 category lines flush left underneath the logo.
Thanks so much for your reply. Would I add this underneath /LR Navi/ ?
Or you could change your #header ul li{} CSS rule to be more specific and only apply it to the bottom list
I would love to create a rule, but I have no idea how to go about that.
As for the category change, why not just go into the HTML and remove the word?
I think I might have confused things by saying this (I add the categories in WordPress so that’s not a problem). I mentioned it because I specifically wanted the bullets gone from before each of the first words in each line, not just removed from in front of those 2 particular words (since those first words may change if more categories are added). Hope that makes sense.
Well I went ahead and tried adding it under /LR Navi/ and as you can see it just removed the bullets from in front of Home, Search, Login, Register, and before the image of the shopping cart. Unfortunately, the bullets are still in front of the 2 first words in each of the category lines (I think I will keep the one in front of “Home” in the upper right-hand corner). But yay! Thank you for getting me this far! Anything else that you could help with is a tremendous plus!
Hi, since both lists meet the rule of “#header ul li” all of them will have the background image. You can override that rule to remove the background image on the top list by doing as such
#header ul.LR_navi li{background:none;}
Or you could change your #header ul li{} CSS rule to be more specific and only apply it to the bottom list
As for the category change, why not just go into the HTML and remove the word?
I did find an index.php file under the parent theme folder (which I’m not supposed to edit directly - I’m supposed to copy that file over to the child theme and edit it there). This file contained a couple of “class” lines that had to do with where the sidebar went (in the theme design), but I didn’t see any html pages where I could add a “class” line about the category navigation. I would have loved to remove the 2 bullet images that come before the first words on both lines, but I think for now I’ll leave it as is. Thank you so much for your help! It’s greatly appreciated.
Ahhhhh – the html! I don’t even know where the html files would be. That sounds sad, doesn’t it… I will have to go look at all the files and see what I can find.
Thanks so much for helping, Ryan, but I think I’m doing something wrong b/c I tried it and it didn’t work. I’m sure I must have put it in the wrong place – all the bullet images disappeared.