Tagged: colored background, CSS, menu
-
AuthorPosts
-
August 2, 2022 at 8:40 pm #1360359
Hi guys,
I am trying to have two Menu Items on the Overlay Menu have different colored button backgrounds.
The theme’s default is background-color: #ea526e; for the buttons.
And the goal is to have menu-item-32 be Pink (#ea526e) and menu-item-45 be purple (#6a6797).
Currently, they are both purple as I have it setup that way on the Advanced Styling > Menu Item Button Theme CSS
Sharing link to site on Private Content.
Thank you!
Havi
August 3, 2022 at 4:13 am #1360391Hi havi,
Please try to add this CSS code in Enfold > General Styling > Quick CSS:
#top #wrap_all #header.header_color .av-menu-button-colored.menu-item-32 > a .avia-menu-text { background-color: #ea526e; border-color: #ea526e; }
Best regards,
NikkoAugust 3, 2022 at 5:03 am #1360397Hi Nikko,
It didn’t work. Now both colored buttons are Pink. :(
Check it out. :(
August 3, 2022 at 5:25 am #1360400Hi havi,
I have checked it however it’s purple on my end and I don’t see the code anywhere.
It should specifically be targeting menu-item-32 as you can see in the code I gave.Best regards,
NikkoAugust 3, 2022 at 5:30 am #1360403Hi Nikko,
This ultra persistent cache is killing me!! Guess what? I cleared Chrome two more times (I also saw it purple twice and pink twice on incognito) and once more for Safari and now it’s showing pink and purple!!! YAY!!!
Thank youuuuuuu!!!
Warmly.
Havi
August 3, 2022 at 5:33 am #1360406Hi havi,
You’re very much welcome :)
I also did not clear the cache on my end, after clearing it I was able to see both colors.Best regards,
NikkoAugust 3, 2022 at 5:49 am #1360411This persistent cache is terrible!!! But it looks AMAZING!!!
Thank youuuuuuu!!
(Now I am trying to create a very particular slider – you can see the Content Slider on the page but I would love it if the first slide could be the video with fallback image like you see on the Easy Slider below it – any ideas are more than welcome!!)
Warmly,
Havi
August 4, 2022 at 4:58 am #1360559Hi Havi,
Do you mean having a video that autoplays?
Best regards,
NikkoAugust 4, 2022 at 6:22 am #1360564Hi Nikko,
Not even that complex. Just being able to have a video that plays inside of the slider is what I am trying to do. Any ideas?
Warm regards,
Havi
August 4, 2022 at 7:08 am #1360569Hi Havi,
I see, can I request for temporary admin access on your site? so I can view the backend and try to reproduce it on my end.
Just post the credentials privately.Best regards,
NikkoAugust 4, 2022 at 5:23 pm #1360669Hi Nikko,
Absolutely! Sending you the credentials privately.
Thank you soooo much!!
Warmly,
Havi
August 6, 2022 at 5:11 am #1360877Hi Havi,
Thanks for giving us admin access.
I have made a copy of the page and tweaked it (link in private content).
On the content slider, I replaced the link and image with the embed code you can copy from youtube, then I made it into this format:<div class="flex"> <div>embed code</div> <div>other content</div> </div>
then in Quick CSS, added this:
.flex { display: flex; gap: 24px; } .flex div:first-child { min-width: 50%; width: 560px; }
Please review the page.
Best regards,
NikkoAugust 8, 2022 at 6:19 pm #1361144Hi Nikko!!
Thank you so much! It helps (I need to resize all the other slides as they don’t respond to the .flex) but it doesn’t render properly on tablet or mobile. It got me to adding the YouTube video in there though!
I think I will add a shortcode for a two column section the breaks on tablet/mobile for each slide or I will use the LayerSlider plugin.
I’ll get there!!
Thank you!!!
Warmly,
Havi
August 9, 2022 at 4:43 am #1361186Hi Havi,
You’re welcome :)
To fix the issue on tablet and mobile, please try to add this CSS code as well:@media only screen and (max-width:959px) { .flex { flex-direction: column; } }
Best regards,
NikkoAugust 11, 2022 at 7:33 pm #1361492Hi Nikko!!!
Check it out!! I merged a few Enfold features and now it looks AMAZING!!! Soooo happy!! Thank you for guiding me!!
It looks great on desktop, tablet, mobile. LOOOVE IT!!
Thank you!!!
Warmly,
Havi
August 12, 2022 at 10:59 am #1361525Hi Havi,
It’s a pleasure to help you :D
Thank you as well for using Enfold and have a great weekend!Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.