Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Janyour Posted December 21, 2015 Posted December 21, 2015 Hello, is it possible to disable the logo in mobile view ? a css perhaps ?
opentype Posted December 21, 2015 Posted December 21, 2015 Yes, “display:none” would hide it. But there is no such thing as a “mobile view”. There is only smaller screens which can be targeted with a media query.
ABGenc Posted December 21, 2015 Posted December 21, 2015 There is a built-in class you can use ; "ipsResponsive_hidePhone"
Janyour Posted December 21, 2015 Author Posted December 21, 2015 oh thank you ABGenc, can you tell me please what i should do with this class ? paste some code ?
ABGenc Posted December 21, 2015 Posted December 21, 2015 13 minutes ago, Janyour said: oh thank you ABGenc, can you tell me please what i should do with this class ? paste some code ? I will test and paste the code here when I can if no one replies earlier
ABGenc Posted December 21, 2015 Posted December 21, 2015 4 hours ago, Janyour said: oh thank you ABGenc, can you tell me please what i should do with this class ? paste some code ? For default theme ; Find <header> <div class='ipsLayout_container'> and change div as follows <div class='ipsLayout_container ipsResponsive_hidePhone'> Seems to work on my test site.
Janyour Posted December 21, 2015 Author Posted December 21, 2015 Work perfectly thank you very much, really appreciate your support
kmk Posted February 12, 2018 Posted February 12, 2018 @media screen and (max-width: 767px) { .logo { display: none !important; } } Hi guys, above code does not work for default theme, can you correct me please... and what is the code for apply tablet view? what I want to do is hide logo in mobile and tablet.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.