Jump to content

Determine if skin switched to "minimal" or mobile layout?


-FP

Recommended Posts

Posted

Hi,

I don't want to display the image logo nor the site name as text on mobile devices, how can I modify the logo template of the default skin to accomplish that?

Well I want to assign a css class with "display: none" if the skin switches layout for mobile devices, I just need to know how to determine that.

Posted

I see, I need to get my head around this responsive thing lol.

Thanks.

​.

 

Add this in your custom.css in your theme CSS ..

This take care mobile & tablet .. if you wanna only have mobile adjust to 767px ..

 

@media screen and (max-width: 979px) {
	#ipsLayout_header .ipsLayout_container {
    	display: none;
    }
}

 

 

.

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...