-
AuthorPosts
-
August 9, 2016 at 3:51 am #670136
Hi,
I’m building a site that uses transparent menus on several pages. On some of the pages I need the transparent color to be white, and on other black. I can see how to set the color for all pages in theme options, but can you tell me the custom css to set it for an individual page?Thanks
RichardAugust 10, 2016 at 5:48 am #670620Hi Richard,
You can use the page-id class for page specific CSS, if you inspect the page in question you will find it in the body tag. If you should need any further help then please link to your site and try to explain your problem in greater detail.
Regards,
RikardAugust 10, 2016 at 10:39 pm #671086Hi Rikard,
Thanks for getting back to me. Here is the page: http://henrysegerstromdevsite.webfour.net/index.php/temptest/
It has #222222 for the transparency header, as that is the global setting, but I would like it to be #ffffff; I found this CSS:
#top #header .av-main-nav > li > a .avia-menu-text, #top #header .av-main-nav > li > a .avia-menu-subtext {
color: #222222;
}
So, I can change the #222222 to #ffffff, but I do not know how to create the page-id class for this. I’ve create classes using the color area, but nothing like this. I’ve indicated the login in the private section below in case its easier for you to just implement the change.Thanks for your help!
August 12, 2016 at 7:41 pm #672036Hi Rikard,
Do you need any more info on this?
thanks
RichardAugust 15, 2016 at 3:38 am #672429Hi,
We are very sorry for the delay. Changed the menu item font color of the transparent header in the Enfold > Header > Transparency Options > Transparency menu color option.
Best regards,
IsmaelAugust 15, 2016 at 5:39 pm #672816Hi Ismael,
I know how to change to color globally, but if you read the post thread, you will see that my question pertains to changing it on certain pages.
Thanks
RichardAugust 15, 2016 at 7:56 pm #672853Hi!
To change it on certain oages it would require some customisations and a page if statement to apply the CSS.
Please consider to hire a freelance, who will be able to assist you with that process.Thanks a lot
Cheers!
BasilisAugust 15, 2016 at 9:04 pm #672871Why is that? I only want to change the color of the menu on individual pages. Other themes I’ve worked with have provided a simple CSS change that gave a page ID, the nav, and then the color change. I’m sure this is possible of Enfold.
Thank youAugust 15, 2016 at 9:25 pm #672880Never mind. I figured it out.
August 17, 2016 at 5:21 am #673478Hi,
Great, glad you figured it out. Please let us know if you should need any further help on the topic.
Thanks,
RikardAugust 30, 2016 at 1:35 am #679221Hi
Using transparent menus throughout the site, some pages have white text, some black. I was able to change the individual pages with this code – but now its not working:
.page-id-2.av_header_transparency .av-main-nav>li>a>span.avia-menu-text {
color: black !important;Does the code look right?
August 30, 2016 at 5:47 pm #679609Hi – I did resolve the above by using #ffffff as the default trans menu color, and then for individual pages that use another color:
.page-id-2 .av_header_transparency .av-main-nav>li>a>span.avia-menu-text {
color: #666666 !important;
}But, the active item line under the selected menu item still remains #ffffff – is there a way to also make this #666666 for those selected pages?
Thanks
August 31, 2016 at 11:14 pm #680363Actually, I just need to make that active item line #00a8e0 regardless of what color the menu item font is.
ThanksSeptember 1, 2016 at 2:49 pm #680749Hi,
go to Enfold->Advanced Styling and choose “Main Menu” to customize it.
You can check “Apply only on mouse hover” if you want.Best regards,
AndySeptember 1, 2016 at 9:48 pm #680979Wow, this is an answer to a question I did not ask. What I did ask is about the line that appears under a menu item when you mouse over a navigation element. I would like to have that line be #00a8e0 whether the header is in regular mode or transparent.
Thank youSeptember 5, 2016 at 1:43 pm #682139Hi,
use this code inside Quick CSS field:
#top .header_color.av_header_transparency .avia-menu-fx { background: #00a8e0; }
Best regards,
AndySeptember 6, 2016 at 3:58 am #682394Thank you!
September 6, 2016 at 12:41 pm #682576Hi,
glad we could help. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.
Best regards,
Andy -
AuthorPosts
- The topic ‘Transparent menu’ is closed to new replies.