Jump to content
zouleo

How can I make the boxes section only visible on desktop?

Recommended Posts

zouleo

What I need is to have the boxes section use the following CSS class "visible-desktop" so that it is not visible on iPhone or iPad. How can I achieve this?

Share this post


Link to post
Share on other sites
Rob

Hello,

 

To add a custom class to a box, simply go to the individual box, at Dashboard > Boxes > Boxes. Scroll down till you see PageLines Box Options and then scroll further to Boxes Custom Class. In the empty field there, just type or paste in visible-desktop and save.  Apply the CSS related to that class in Dashboard > PageLines > Site Options > Custom Code.

 

Remember to use .visible-desktop as your CSS element (note: the dot before visible must be included).

  • Like 1

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
zouleo

Thank you!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×