Que594 Posted September 25, 2022 Share Posted September 25, 2022 Site URL: https://www.DelawareRising.club/roster  Hello! I have a second bar under my navigation on some pages, but I can't figure out the code to make it responsive like the header nav across varying sizes... Any help would be greatly appreciated 🙂  This is the code I currently use, which I know changing the margin just picks the location of the bar just on that page dimension. div.roster-banner {  margin: -110px 0px 0px -500px !important;  width: 2000px !important;  text-align: left !important;  background: linear-gradient(0deg, rgba(22,47,71,1)  95%, rgba(255,255,255, 1) 20%); Link to comment
tuanphan Posted September 26, 2022 Share Posted September 26, 2022 It looks fine to me. Can you describe in more detail "responsive"? 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
Que594 Posted September 27, 2022 Author Share Posted September 27, 2022 On 9/26/2022 at 4:30 AM, tuanphan said: It looks fine to me. Can you describe in more detail "responsive"? I'm trying to have those two links resize in line with the navigation links. It currently resizes with the rest of the body. If that helps clarify at all, lol. Another problem I'm having is that those links are getting cut off on mobile because I'm not sure how to stop them from getting pushed wide. Link to comment
tuanphan Posted September 30, 2022 Share Posted September 30, 2022 Add to Design > Custom CSS @media screen and (max-width:991px) { .roster-banner { padding-left: 15px; } }  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
Que594 Posted October 1, 2022 Author Share Posted October 1, 2022 On 9/29/2022 at 10:39 PM, tuanphan said: Add to Design > Custom CSS @media screen and (max-width:991px) { .roster-banner { padding-left: 15px; } } Â Thanks! That did help the text from moving to the left or right. However, I can't figure out how to set top or bottom padding to stop any resizing of that banner... is vertical padding the right solution for that? Link to comment
Que594 Posted October 6, 2022 Author Share Posted October 6, 2022 @tuanphan No worries if you don't know the code for this, but if you could even just point me in the right direction to do some research would be great! Link to comment
Solution tuanphan Posted October 8, 2022 Solution Share Posted October 8, 2022 On 10/7/2022 at 6:54 AM, Que594 said: @tuanphan No worries if you don't know the code for this, but if you could even just point me in the right direction to do some research would be great! Use some code like this .roster-banner { padding-top: 20% !important; padding-left: 15px !important; }  Que594 1 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment