menu text -individual colour
-
wrote on Oct 9, 2019, 10:53 AM last edited by
-
wrote on Oct 9, 2019, 1:07 PM last edited by
🔗 LIIINK!? ❓ 😉
You can target each menu-item via Custom-CSS. If you provide a link I can send you a code example based on your site.
-
wrote on Oct 9, 2019, 2:52 PM last edited by
thanks - my website is www.tobyneilan.com
-
wrote on Oct 9, 2019, 4:00 PM last edited by
Try this bit of code in Lay Options / Custom CSS & HTML:
.menu-item-219 a{ color: #e0759f; }
Make sure to remove the
<font color ="#e0759f">
tag in your site title beforehand.💐Cheers!
-
wrote on Oct 10, 2019, 10:37 AM last edited by Toby Oct 10, 2019, 6:38 AM
Thanks - I added the code and this still appears <font color ="#e0759f">SHOP</font>
however if i refresh the page it disappears but then reappears if i click on to another menu item then return to Shop
any thoughts?
Cheers
Toby -
-
wrote on Oct 11, 2019, 9:41 AM last edited by
Hi Marius
I initially aded
<font color ="#e0759f">SHOP</font>
into my site title see screen grab below - it works but the code appeared in the toolbar again see screen grab below
edgrbnz - suggested I add his code to my CSS & HTML which I did and removed my code from site title, but I'm still seeing the code appear within the toolbar - it only disappearing once I've refreshed the page
but reappearing if I view another menu page and then return to the SHOP. -
wrote on Oct 11, 2019, 12:36 PM last edited by edgrbnz Oct 11, 2019, 8:36 AM
That’s weird…
Perhaps the<font color ="#e0759f">…
is used as a title in your menus? -
wrote on Oct 11, 2019, 12:41 PM last edited by
I removed that code from my title like you said - very odd
-
wrote on Oct 11, 2019, 12:56 PM last edited by edgrbnz Oct 11, 2019, 10:19 AM
Did you also check your menus in Appearance / Menus?
Are you using any caching plugins? → Perhaps it’s just stuck in the cache? -
wrote on Oct 11, 2019, 4:06 PM last edited by
Hi Edgrbnz
I stupidly forgot to remove the old 'SHOP' title from the Appearance / menu
however I have now replaced with the new title and your code doesn't seem to workany ideas?
Thanks
Toby -
wrote on Oct 11, 2019, 6:04 PM last edited by
That’s because the menu item changed I think.
Try this one instead:.menu-item-476 a{ color: #e0759f; }
Cheers!
-
wrote on Oct 11, 2019, 8:12 PM last edited by
Thanks - but still no joy
-
wrote on Oct 12, 2019, 10:31 AM last edited by edgrbnz Oct 12, 2019, 6:35 AM
It’s weird because the color doesn’t even show up in the inspector…
Would you mind sending me your login details via chat?
Then I could hava a look into the backend. -
wrote on Oct 12, 2019, 2:38 PM last edited by
HI edgrbnz
Thanks for your help - I solved it I had to also include the data-type and data-id numbers for all the pages
Cheers
Toby -
wrote on Oct 13, 2019, 10:55 AM last edited by
Glad it works 💐
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it