- This topic has 11 replies, 2 voices, and was last updated 7 years, 10 months ago by
David.
-
AuthorPosts
-
May 25, 2018 at 4:27 am #584311
Anders
Hi there,
I have a website that I have setup as content-left_sidebar-right_sidebar, in the right sidebar I have ads and I want to shift the sidebar setup when anything under 960 in resolution browses the website to a content-right_sidebar setup is that possible?
I do not want to limit the website to on mobile-desktop setup, but instead, work with a resolution setup where everything below 960px uses “content-right_sidebar” setup and everything above 960 uses “content-left_sidebar-right_sidebar” setup.
Hope you understand what I am trying to do here.
May 25, 2018 at 5:27 am #584344David
StaffCustomer SupportHi Leif, what happens to the left side bar at this new breakpoint? Is it to be stacked below the right side bar or below the content?
May 25, 2018 at 5:32 am #584348Anders
Hi David,
I need the “content-left_sidebar-right_sidebar” setup to not load and instead load a “content-right_sidebar” setup.
Hope that makes sense .. =)
May 25, 2018 at 5:39 am #584351David
StaffCustomer SupportOK so what happens to the content of the left sidebar? Is it just removed completely? Or combined with the right sidebar?
May 25, 2018 at 6:03 am #584365Anders
The only thing that should show is the sidebar with the news listings on the current setup, but in a content-sidebar setup that fills the same width as with the content-sidebar-sidebar setup that is the default.
If I just remove the sidebar with the banners now it does not fill out the total width as a content-sidebar setup would do.
May 25, 2018 at 6:11 am #584375David
StaffCustomer SupportHi Leif,
you can try this:
@media (min-width: 769px) and (max-width: 960px) { #primary { width: 75%; } #right-sidebar { display: none; } }May 25, 2018 at 6:28 am #584388Anders
That seems to do the trick, what does #primary stand for, the sidebar with the news or content?
Thanks anyway, now I can fiddle some more with it .. =)
May 25, 2018 at 9:18 am #584542David
StaffCustomer SupportThe primary is the content area. Glad I could help
May 25, 2018 at 10:12 am #584577Anders
Thank David again, I think my purchase of GP Premium a year ago has been my best buy in value, I often don´t need help but when I do this forum has been gold .. =) So thanks for bringing value to the community .. =)
May 25, 2018 at 10:31 am #584591David
StaffCustomer SupportGlad i could be of help!
May 25, 2018 at 10:57 am #584631Anders
Oppss .. Times fly .. Checked my account and I bought it January 8, 2016 .. Woow, that’s value for my onetime lifetime license .. =)
Have a great weekend and make sure to enjoy the sun and take your laptop outdoors if your working .. =)
May 25, 2018 at 11:05 am #584637David
StaffCustomer SupportHa ha, have a great weekend too!
-
AuthorPosts
- You must be logged in to reply to this topic.