Hide Elements on Mobile View
MichaelBanksPhoto
Registered Users Posts: 4 Big grins
Hi all,
I am trying to figure out how to hide a couple of elements when my site is being viewed on a mobile device...
The elements are the Telephone Number and the Social Media icons directly under the main menu.
Anyone able to guide me in the right direction?
www.michaelbanks.photo
Thanks,
Michael
I am trying to figure out how to hide a couple of elements when my site is being viewed on a mobile device...
The elements are the Telephone Number and the Social Media icons directly under the main menu.
Anyone able to guide me in the right direction?
www.michaelbanks.photo
Thanks,
Michael
0
Comments
Add this to your theme's custom CSS section:
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
> Add this to your theme's custom CSS section:
>
> /*** Hides Phone Number and Social Icons on Mobile*************************************************/@media ( max-width: 736px ) { .sm-page-widget-31269039 /* Phone */, .sm-page-widget-31269010 /* Social */{display: none;}}
Any chance you might be able to help me as well (or anyone else!)
For https://www.ticaboomedia.com, I am trying to remove the area on the left with my contact information as well as the "Official Photographer" image from mobile. Can't figure out the widget ID numbers...