pre Posted January 20, 2020 Share Posted January 20, 2020 Dear community I have added the following CSS code to underline the active pages on my page. .main-nav ul li.active-link a, .main-nav ul li.active-link a:active { text-decoration: underline !important; } .main-nav a:hover { text-decoration: underline !important; } Now the problem is that the whole navigation folder gets underlined, but I only want the actual site. How can I do that? Somehow excluding the other pages in the folder? Here's my page: pascalreinmann.com Thanks for you help! Link to comment
tuanphan Posted January 21, 2020 Share Posted January 21, 2020 remove your code, and use this .main-nav ul li.active-link>a, .main-nav ul li.active-link a:active { text-decoration: underline !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
pre Posted January 21, 2020 Author Share Posted January 21, 2020 thanks a lot tuanphan! Link to comment
pre Posted January 21, 2020 Author Share Posted January 21, 2020 @tuanphan There is another problem with my mobile version. How can I adjust the padding for the folder here on the mobile version? and make it "drop-down" as on the desktop version? Link to comment
tuanphan Posted January 21, 2020 Share Posted January 21, 2020 #mobileNav .mobile-folder>a { margin-left: 1.5em !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.