-
-
Hello,
On my site on the right hand side I have added small service icons, and then a list of links in the content.
The problem is that the first link is grey and changes colour on hovering, and the other links in the lists are just purple. I would like them all the same as the first link, grey, then purple on hovering.
https://dev.revivebusinessrecovery.co.uk/company-rescue/#
I cannot find out how to do this!
Thanks,
Liam
-
Could i also ask, when the responsive (collapsed menu) shows, it shows all pages and sub pages and is therefore huge, is it possible to reduce the size of this menu to get it to show only two top tiers, or is there a way to only show the pages, and then click to expand i.e. the main pages and then the second subpages only once clicked?
Thanks,
Liam
-
-
Hello,
Sorry for the late reply.
Please add this code into your custom css box, to change the links color:p a { color: #989898 !important;} a:hover { color: #413A64;}
Send us your ftp so we can do the necessary changes for sub-menu items display in mobile.
Best regards!
-
-
Hello,
The ftp credentials are the login data you use to access your files directly. This is needed because we need to edit the js/main.js file for the mobile menu. And this file is not accessible from wordpress dashboard.
You had an error in your custom css box, that is why the code i gave you was not working. You had added this line:// Disable the WordPress Admin Bar for all but admins. if (!current_user_can('administrator')): show_admin_bar(false);endif;
which is wrong. First, the comment in custom css box is not by double slash
//
but like this/* comment text */
and second you had added a php code into it. This section is for css code only. Every other, will generate an error.
I edited that and added this other code:
p a:hover { color: #413A64 !important;}
Please check your site, it’s ok now.Best regards!
-
-
Hello,
Sorry for the late reply.
I can’t access your ftp as the credentials above do not include the password.
However, you can do it yourself. Just go to file js/main.js and find these lines->
code, at the end of it add this code:$('.menu-small > ul > li.menu-item-has-children > a').parent().find('.sub-menu').css('display', 'none'); $('.menu-small > ul > li.menu-item-has-children > a').on('click', function(){ if($(this).hasClass('open')){ $(this).parent().find('.sub-menu').css('display', 'block'); $(this).removeClass('open').addClass('close'); } else { $(this).parent().find('.sub-menu').css('display', 'none'); $(this).removeClass('close').addClass('open'); } });
Save file.
Best regards!
-
This isn’t working again, my top link is different I haven’t changed the CSS at all.
Please help!
Thanks,
Sophie
-
Hello,
You had used a shortcode to add services small in sidebar. All other links, except the first one, where wrapped up
<p><p/>
tags and thus they do recognize the custom css we added. The first links didn’t. So i added these tags before the other links and now they are all the same.
Please check your site.Best regards!
-
-
You must be logged in to reply to this topic.