Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter LGphotography

    (@lgphotography)

    I have find the option in Page Builder, maybe it is a clue for the first issue: https://www.lgphotography.fr/Help/PageBuilder.jpg
    Should I have it apply to something else than “body”?

    Thread Starter LGphotography

    (@lgphotography)

    First problem solved with this CSS found on another topic:

    I am still looking for a solution to the responsivness problem with the galleries on smartphone…

    Here are my current settings:
    https://www.lgphotography.fr/Help/FooGallery.jpg
    https://www.lgphotography.fr/Help/PageAjust.jpg
    https://www.lgphotography.fr/Help/PageAjust-builder.jpg
    https://www.lgphotography.fr/Help/PageBuilder.jpg

    .site-header,
    footer[role="contentinfo"] {
    	background: white;
    }
    
    footer[role="contentinfo"] {
    	border: 0;
    	padding-top: 48px;
    }
    
    body .site {
    	margin: 0;
    	padding: 0;
    	box-shadow: none;
    }
    
    .site-content article {
    	margin-bottom: 24px;
    }
    
    .wrapper {
    	margin-top: 12px;
    }
    
    .site-header hgroup, .site-header nav, .wrapper, footer[role="contentinfo"] .site-info {
    	padding-left: 10px;
    	padding-right: 10px;
    }
    
    @media screen and (min-width: 600px) {
    	.site-header {
    		padding: 48px 0 0;
    	}
    
    	.main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul {
    		border: 0;
    	}
    
    	.wrapper {
    		margin-top: 24px;
    	}
    
    	body .site, footer[role="contentinfo"] {
    		max-width: 100%;
    	}
    
    	.site-header hgroup, .site-header nav, .wrapper, footer[role="contentinfo"] .site-info {
    		margin-left: auto;
    		margin-right: auto;
    		max-width: 920px;
    		padding-left: 20px;
    		padding-right: 20px;
    	}
    }
    
    @media screen and (min-width: 960px) {
    	.site-header hgroup, .site-header nav, .wrapper, footer[role="contentinfo"] .site-info {
    		max-width: 940px;
    		padding-left: 0;
    		padding-right: 0;
    	}
    }
    
    @media screen and (min-width: 980px) {
    	.site-header hgroup, .site-header nav, .wrapper, footer[role="contentinfo"] .site-info {
    		max-width: 960px;
    	}
    }
    Thread Starter LGphotography

    (@lgphotography)

    First problem solved with the above CSS code, found in another topic.
    I am still looking for the solution of the responsiveness issue on smartphone.

    Here are my current settings:
    https://www.lgphotography.fr/Help/FooGallery.jpg
    https://www.lgphotography.fr/Help/PageAjust.jpg
    https://www.lgphotography.fr/Help/PageAjust-builder.jpg
    https://www.lgphotography.fr/Help/PageBuilder.jpg

    The code that saved me:

    .site-header,
    footer[role="contentinfo"] {
    	background: white;
    }
    
    footer[role="contentinfo"] {
    	border: 0;
    	padding-top: 48px;
    }
    
    body .site {
    	margin: 0;
    	padding: 0;
    	box-shadow: none;
    }
    
    .site-content article {
    	margin-bottom: 24px;
    }
    
    .wrapper {
    	margin-top: 12px;
    }
    
    .site-header hgroup, .site-header nav, .wrapper, footer[role="contentinfo"] .site-info {
    	padding-left: 10px;
    	padding-right: 10px;
    }
    
    @media screen and (min-width: 600px) {
    	.site-header {
    		padding: 48px 0 0;
    	}
    
    	.main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul {
    		border: 0;
    	}
    
    	.wrapper {
    		margin-top: 24px;
    	}
    
    	body .site, footer[role="contentinfo"] {
    		max-width: 100%;
    	}
    
    	.site-header hgroup, .site-header nav, .wrapper, footer[role="contentinfo"] .site-info {
    		margin-left: auto;
    		margin-right: auto;
    		max-width: 920px;
    		padding-left: 20px;
    		padding-right: 20px;
    	}
    }
    
    @media screen and (min-width: 960px) {
    	.site-header hgroup, .site-header nav, .wrapper, footer[role="contentinfo"] .site-info {
    		max-width: 940px;
    		padding-left: 0;
    		padding-right: 0;
    	}
    }
    
    @media screen and (min-width: 980px) {
    	.site-header hgroup, .site-header nav, .wrapper, footer[role="contentinfo"] .site-info {
    		max-width: 960px;
    	}
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Full width and responsiveness’ is closed to new replies.