- This topic has 10 replies, 2 voices, and was last updated 2 years, 3 months ago by David.
-
AuthorPosts
-
January 14, 2022 at 3:08 am #2079980Anil
I set separating space as 10px under Appearance > Customize > Layout > Container.
How to increase this to 20px in desktop…. using latest versions of theme and plugin with flexbox, using 2 columns layout….
January 14, 2022 at 5:44 am #2080107DavidStaffCustomer SupportHi there,
can you share a link to the site so i can see the layout ?
January 14, 2022 at 11:42 pm #2080883AnilOk, I mentioned…
January 15, 2022 at 12:08 am #2080891AnilI would like to have 3 things with the site:
1. Separating space
a. ipad and smaller devices – it is 10px as set in customiser
b. in desktop it should be 20px (css required)2. div #page
a. ipad and smaller devices – left and right margin – 10px (as separating space) (css required)
b. in desktop – left and right margin – 20px (as separating space) (css required)3. nav bar – left and right space as above
January 15, 2022 at 6:01 am #2081103DavidStaffCustomer SupportTry this CSS:
@media(min-width: 1024px) { .separate-containers .site-main { margin: 20px; } .separate-containers .inside-right-sidebar, .separate-containers .inside-left-sidebar { margin-top: 20px; margin-bottom: 20px; } .generate-columns-container { margin-left: -20px; } .generate-columns { margin-bottom: 20px; padding-left: 20px; } .sidebar .widget { margin-bottom: 20px; } .navigation-branding { margin-left: 20px !important; } .main-navigation .inside-navigation { padding-right: 10px !important; } }
January 15, 2022 at 9:21 am #2081377AnilThanks David,
is this correct to have spacing left and right
@media(max-width: 1023px) { div#page {margin-left:10px; margin-right:10px} } @media(min-width: 1024px) { div#page {margin-left:20px; margin-right:20px} }
January 15, 2022 at 10:02 am #2081402AnilI found mine css not good to have margin on left and right…
what is the right way…January 16, 2022 at 4:52 am #2081916DavidStaffCustomer SupportThe layout of the site has changed since i first checked it – are you still requiring the 20px separating space on larger screens ?
January 16, 2022 at 6:34 am #2082014AnilHi David,
I found css for separating space is not flawless… there was issue on category pages, tag pages, and sometimes with pagination div….
I think changing separating space with css is having some adverse reaction with theme and layout… so I dropped the idea, and would remain with inbuilt option with customiser. I believe, you need to re-build this in customiser for different devices.
Now, I like to have 10px margin on left and right side…
but following css is not fool-proof, can you suggest better one….div#page {margin-left:10px; margin-right:10px}
January 16, 2022 at 9:32 am #2082294Anilit’s better to close this now ๐
January 17, 2022 at 3:13 am #2082918DavidStaffCustomer SupportNo problems ๐
-
AuthorPosts
- You must be logged in to reply to this topic.