Selective content for mobile

Posted in: Newsmag
Post count: 9

Is there anyway to differentiate content on a page basis the device being used to access the website ?

We have implemented your newsmag theme on our site, beta.koimoi.com. Looks great, but the content for the mobile user seems heavy.

Post count: 6535

Hi

The theme is optimized such that works well on mobile devices but if you want a different implementation you can use media queries in order to hide some content according with screen’s width. Here is an example:

@media (max-width: 767px) { //screen width; //
.element-to-hide { //the css class of the element that you want to hide/change, in some cases may be needed more classes for a more specific target //
display: none; //css properties; //
}
}

Fore more details about css coding you can check this link, it contains some useful information: http://www.w3schools.com/css/default.asp

Hope this help.
Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newsmag’ is closed to new topics and replies.