I have tried adding this code:
.menu >li.current-menu-item >a {
background-color: #02893e;
color: #ffffff;
}
but doesn’t work thanks.
This topic has 35 replies, 4 voices, and was last updated 10 years, 7 months ago ago by Eva Kemp
I have tried adding this code:
.menu >li.current-menu-item >a {
background-color: #02893e;
color: #ffffff;
}
but doesn’t work thanks.
Hello
Please provide us with link to your site.
With best regards
Brian Johnson
Hi Please, find the link in the private content below Thanks
Hello,
Please change your code to this one:
.menu > li.current-menu-item > a {
background-color: white !important;
color: black !important;
}
Write your color values.
Regards,
Eva Kemp.
Hi, I tried this but it still isn’t working?
Any more suggestions?
Thanks
Hello,
Please provide us with wp-admin access in Private Content.
Regards,
Robert Hall.
below
Hello
Please add the code above or this one:
.menu > li.current-menu-item > a {
background: white !important;
color: black !important;
}
Then clear your browser cache and check the issue again.
With best regards
Brian Johnson
Hi I tried that but still not working! Anymore ideas?
Please provide us with screenshot or describe widely what you would like to achieve. You may use this or similar service: http://prntscr.com/.
With best regards
Brian Johnson
Hello,
Very likely that your child theme is not working correct.
Also please provide us with FTP credentials in Private Content.
Regards,
Robert Hall.
Hi, I basically want the tab of the page you are on to have a white background with green text like the screenshot.
Thanks
see private content
Hello,
Please check it now.
Regards,
Robert Hall.
Hello
I have edited a bit previously added code. please check your site now.
With best regards
Brian Johnson
That’s awesome thank you 🙂
You’re welcome!
If you have any questions please feel free to contact us.
Regards,
Robert Hall.
It seems to have messed a few things up? on the sticky menu the search icon has dropped and the menu has moved up and my horizontal rule doesn’t seem right? Do you know what you deleted?
Thanks
Hello
We have just added that code. You may use this 2 lines to restore alignment:
.fixed-header .navbar-collapse.collapse{display:table-cell!important;}
.fixed-header .navbar-header{padding-top:20px}
Please describe or provide us with picture of how it should look.
With best regards
Brian Johnson
Hi, That worked for the menu, but the a:hover isn’t working on my style sheet now that was before, it’s just showing the boostrap one. Also all links have underlines on hover which wernt there before. plus this screen shot http://prntscr.com/727g6w shows the boxes arn’t lining up at the bottom which they were before. It is something to do with hr, as it seems to close to the type underneath than before.
Thanks.
Any luck?
Thanks
Hello,
Sorry, but your query is a bit unclear.
Please show a screenshot what the problem is with a:hover?
Also give a page link where boxes aren’t lining up.
Thank you.
Regards,
Eva Kemp.
Sorry, I have this code in my style sheet which was showing up before
a {
text-decoration: none !important;
-webkit-transition: color .25s ease;
-moz-transition: color .25s ease;
-o-transition: color .25s ease;
-ms-transition: color .25s ease;
transition: color .25s ease;
color: #5cb3cc ;
cursor: pointer;
font-weight: bold;
}
a:hover {
color: #02893e ;
font-weight: bold;
}
but now it doesn’t register and only registers the deafult css from boostrap.min.css which is a {
color: #428bca;
I have work around for the boxes so just need the above sorting if possible?
Thanks
Hello,
Could you please show a page link where that doesn’t take effect?
Thank you.
Regards,
Eva Kemp.
yes below
I don’t know if your looking into this but the site is now coming up with the funny loading when you click a link in the nav which is on your demo page.
Also, the mobile menu isn’t displaying correctly either, please can you advise on this and the above 2 points.
Thanks
Hello,
The problem is in your modifications in the child theme.
If you activate parent theme mobile menu works fine.
So you should check your own customizations that you made in the child theme.
Thank you.
Regards,
Eva Kemp.
Hi, I have deleted this code:
.fixed-header .navbar-collapse.collapse{display:table-cell!important;}
.fixed-header .navbar-header{padding-top:20px}
which you told me to add, because the sticky menu isn’t displaying correctly. Please see this screenshot http://prntscr.com/72hyw4
Also, when I click a page tab the page goes black and 100% text comes up, which is similar to your demo page, please can you look into this. Page link is below.
Thanks
Hi Please can you let me know if the below is being sorted, as I need this resolving asap. I am beginning to wish I didn’t ask for help in first place as this has led to so many other issues and initially all I wanted was a tab to change colour.
Earlier message:
Hi, I have deleted this code:
.fixed-header .navbar-collapse.collapse{display:table-cell!important;}
.fixed-header .navbar-header{padding-top:20px}
which you told me to add, because the sticky menu isn’t displaying correctly. Please see this screenshot http://prntscr.com/72hyw4
Also, when I click a page tab the page goes black and 100% text comes up, which is similar to your demo page, please can you look into this. Page link is below.
Thanks
The issue related to '‘How do i change background colour of current menu items in royal theme?’' has been successfully resolved, and the topic is now closed for further responses