dadou351 Posted December 3, 2014 Share Posted December 3, 2014 (edited) Hello, I would like to display a text slogan in the header but I am a problem with the responsive mode. In fact, I'd like that the slogan disappears (or decreases) when the window is smaller. Do you know how to do? My website : www.1art1design.com Best Regards David Edited December 3, 2014 by dadou351 (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted December 4, 2014 Share Posted December 4, 2014 Add to themes/<your theme folder>/css/global.css (at the end): @media (max-width: 767px) { #header_slogan { display: none; } } (You can change 767 to anything you like. this is the browser window size. If the browser size gets below this size the slogan will disappear. Search in the global.css for '@media' to see what standard sizes are used, like 767, 991, 1199 etc, to make it consistent with other changes of the page. Hope this helps, pascal. 1 Link to comment Share on other sites More sharing options...
dadou351 Posted December 4, 2014 Author Share Posted December 4, 2014 Hello, Thank you, it works fine David 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