-
Author
-
February 28, 2016 at 02:46 #107177
trueink
ParticipantIs there a way to completely hide the sidebar on the portfolio pages only on tablets and mobiles phones but keep the sidebar on regular computers?
any help would be greatly appreciated.
thanks
February 28, 2016 at 23:07 #107283Laura
ModeratorHello, yes, just add this to style.css of child theme
COPY CODE@media only screen and (max-device-width: 1000px) { .sidebar.sidebar-main.col-sm-3.sidebar-right { display: none; } }Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 29, 2016 at 01:01 #107294trueink
ParticipantHi Laura,
Thanks for the quick reply. The code didn’t work for me though. :/
February 29, 2016 at 16:33 #107386Laura
ModeratorHello, can you share admin credentials so i can check it out?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 29, 2016 at 16:46 #107392trueink
ParticipantHi Laura,
of course here you go:
http://www.trueinkdesigns.com/wp-login.phpLaura
7k&!wtLzWopFVa0fkb%jVPOiJust wanted to make sure we are both on the same page, what i was looking to do is hide the sidebar on the portfolio pages, giving the page a full width look that would eliminate the entire sidebar on mobile and tablet devices only (whether they are held horizontally or vertically).
Thanks again!
March 1, 2016 at 13:45 #107606Laura
ModeratorHello, the code works, hides the sidebar for mobile, your modification requires a bit more coding so i suggest to hire a developer to do it for you 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 1, 2016 at 15:43 #107667Andrei
ModeratorHi @trueink, can you please let me know if the code Laura provided did helped you or if you need any more help please explain us better so we can clearly understand and help you …
Looking forward.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 1, 2016 at 17:04 #107728trueink
ParticipantHello Andrei,
Thanks for reaching out. Ive received a rather personal and defensive email from SeventhQueen and I’ve responded accordingly. It looks like what I’m trying to do cannot be achieved through this forum. however, i do appreciate your response.
March 1, 2016 at 17:27 #107736Laura
ModeratorHello, please try the following ccss at style.css of child theme, let me know if this works 🙂
COPY CODE@media only screen and (max-device-width: 991px) { .sidebar.sidebar-main.col-sm-3.sidebar-right { display: none; } div#main-container { max-width: 1280px !important; } .template-page.col-sm-9.tpl-right { width: 100%; } }Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.