mmoss Posted October 7, 2015 Share Posted October 7, 2015 Hi All, I have created a top banner, but needs it to be full width. Added following code to global.css but it only changed the left side. .banner .container, header .banner a {max-width:100%!important; width:100%!important;} As yo can see from picture, the right side is black - which it should not be. Kindly assist Link to comment Share on other sites More sharing options...
cristic Posted October 7, 2015 Share Posted October 7, 2015 Since you didn't specified a link to view it, I believe that you have to put width:100% to <img> tag, not the link. Link to comment Share on other sites More sharing options...
mmoss Posted October 7, 2015 Author Share Posted October 7, 2015 Sorry here is my link: www.dk-auktion.dk Link to comment Share on other sites More sharing options...
cristic Posted October 7, 2015 Share Posted October 7, 2015 In #header .banner a img - you have a max-width: 1170px;. Remove it and check again. Link to comment Share on other sites More sharing options...
mmoss Posted October 7, 2015 Author Share Posted October 7, 2015 (edited) Got it - thanks very much. How do I mark it solved? Edited October 7, 2015 by mmoss (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now