- This topic has 11 replies, 3 voices, and was last updated 4 years, 1 month ago by
David.
-
AuthorPosts
-
August 30, 2021 at 6:43 am #1912674
Marius
Hello,
my site is looking bad on tablet. The sidebar is on the right side, but so narrow, that only 2 – 3 words are in one line.
Why is the sidebar not on the bottom, like on mobile view on phone?August 30, 2021 at 8:41 am #1912936David
StaffCustomer SupportHi there,
try this CSS:
@media (max-width: 1024px) { .site-content { flex-direction: column; } #primary, #right-sidebar { width: 100%; } #main { margin-right: 0; } }August 30, 2021 at 9:49 am #1913000Marius
Hi David,
Should I add this css, or do I have to replace some css with it?
And what does it do?August 30, 2021 at 10:02 am #1913011Ying
StaffCustomer SupportHi Sonja,
Try add this CSS first to see if it works.
Let us know 🙂
February 18, 2022 at 9:16 am #2124458Marius
Hello,
what stands the 1024 for? Is this the size of the window, when the sidenbar starts to switch to the bottom of the site?
And is it possible to change the max-width: 1024px to another number? Maybe a bit less?
February 18, 2022 at 9:49 am #2124493David
StaffCustomer Supportwhat stands the 1024 for? Is this the size of the window, when the sidenbar starts to switch to the bottom of the site?
Yes thats correct.
And is it possible to change the max-width: 1024px to another number? Maybe a bit less?
And yes, you could reduce it to another size eg.
@media (max-width: 834px) { .site-content { flex-direction: column; } #primary, #right-sidebar { width: 100%; } #main { margin-right: 0; } }February 18, 2022 at 10:35 am #2124526Marius
Hi David,
okay, thanks. Is 1024 the recommended value? Or was that just a random suggestion?
February 18, 2022 at 11:08 am #2124578Ying
StaffCustomer Support768px*1024pxis the iPad screen width and length.So
1024pxis the typical iPad width on horizontal direction.February 18, 2022 at 11:43 am #2124611Marius
With this setting on my Samsung Tablet (10.4 Zoll) I see the Sidebar in Landscape Modus, but not in Portrait Modus.
I think that is fine.What I am only concerned about is the fact that this setting is not part of the basic settings of this site (Marketer Site). So I think maybe for some reason it would be wrong to set this setting.
February 19, 2022 at 5:37 am #2125203David
StaffCustomer SupportIt’s perfectly fine to use the 1024px 🙂
February 19, 2022 at 6:41 am #2125252Marius
Hi David,
thanks, then I will keep it like this.February 19, 2022 at 9:48 am #2125572David
StaffCustomer Support🙂
-
AuthorPosts
- You must be logged in to reply to this topic.