hellololo Posted October 13, 2020 Share Posted October 13, 2020 Site URL: http://hellololo.net So I know what the problem is but let me explain how I got there first~ http://hellololo.net I wanted my active page to be underlined in then navigation and I found this amazing code on this forum: /* Nav active link underline */ .main-nav ul li.active-link a { border-bottom: 1px solid black; padding-bottom: 0px; } It worked just fine when the navigation and logo were centered, but when I moved the header to what it is currently, the underline got pulled down to whatever size the logo is. If I reduce the size of the logo, the underline moves closer to the navigation. If I increase the size of the logo, the line moves farther away from the navigation. How can I keep my logo image the size it is, while moving the underline where I need it to be? Thank you so much~ PS. Another size question if I may. Is there a way to keep the navigation links to the left and center the logo with social media links in the right corner? Link to comment
jopepo Posted October 20, 2020 Share Posted October 20, 2020 I have the same question. Following Link to comment
tuanphan Posted October 21, 2020 Share Posted October 21, 2020 15 hours ago, jopepo said: I have the same question. Following Can you share site url? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
hellololo Posted January 9, 2021 Author Share Posted January 9, 2021 On 10/21/2020 at 3:39 AM, tuanphan said: Can you share site url? We can check easier Sorry for replying so late! my url is http://hellololo.net Link to comment
tuanphan Posted January 10, 2021 Share Posted January 10, 2021 On 1/9/2021 at 11:39 AM, hellololo said: Sorry for replying so late! my url is http://hellololo.net Remove code & add new code li.active-link a { text-decoration: underline !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
hellololo Posted January 15, 2021 Author Share Posted January 15, 2021 On 1/10/2021 at 1:42 AM, tuanphan said: Remove code & add new code li.active-link a { text-decoration: underline !important; } Woah! Thank you so much! Is it possible to increase the padding between the text and the underline? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.