ConnorSW Posted October 21, 2021 Share Posted October 21, 2021 Site URL: http://webley12.squarespace.com I have used quite a bit of code to get the navigation bar to look how it currently looks but there is one bug i cant seem to fix. On a full desktop screen the background colour for the nav bar does stretch all the way to the edges (but fits fine on tablet) (Password : CountyWebley) Any help on this would be appreciated p.s its kinda hard to see due to the colour but ive marked it in the image below. SquareRefresh 1 Link to comment
SquareRefresh Posted October 21, 2021 Share Posted October 21, 2021 Hey @ConnorSW is that good for tablets and mobile? I recommend replace this code: .header .header-announcement-bar-wrapper { padding-bottom: 0vw; padding-left: 0vw; padding-right: 0vw; line-height: 2.5; } To: .header .header-announcement-bar-wrapper { padding-bottom: 0vw; line-height: 2.5; } SquareRefresh, premium plugins & templates that have an elevated feel. Plugins: Have your site stand out. Templates: Our templates are designed with versatility in mind.Get Freebies: Sometimes things in life are free. Browser our hand selected free plugins. Link to comment
SquareRefresh Posted October 21, 2021 Share Posted October 21, 2021 26 minutes ago, ConnorSW said: On a full desktop screen the background colour for the nav bar does stretch all the way to the edges (but fits fine on tablet) Desktop view with recommended code: SquareRefresh, premium plugins & templates that have an elevated feel. Plugins: Have your site stand out. Templates: Our templates are designed with versatility in mind.Get Freebies: Sometimes things in life are free. Browser our hand selected free plugins. Link to comment
ConnorSW Posted October 21, 2021 Author Share Posted October 21, 2021 31 minutes ago, SquareRefresh said: Desktop view with recommended code: @SquareRefresh I need the background to stretch to the edges and not end on the image as i think it looks odd. Link to comment
Solution SquareRefresh Posted October 21, 2021 Solution Share Posted October 21, 2021 1 hour ago, ConnorSW said: I need the background to stretch to the edges and not end on the image as i think it looks odd. Try this .header-width-inset .header-inner { max-width: 100%; } SquareRefresh, premium plugins & templates that have an elevated feel. Plugins: Have your site stand out. Templates: Our templates are designed with versatility in mind.Get Freebies: Sometimes things in life are free. Browser our hand selected free plugins. Link to comment
ConnorSW Posted October 21, 2021 Author Share Posted October 21, 2021 Thats worked perfectly. Thanks @SquareRefresh SquareRefresh 1 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