• Resolved sher21

    (@sher21)


    How to create the full width template for a particular section

    i tried this code but it is not working

    @media (min-width: 768px) {
    .page-template-full-width-php #main-wrapper {
    	width: 100%;
    	overflow-x: hidden;
    	}
    .page-template-full-width-php #main-wrapper .breadcrumbs {
    	margin-left: 10px;
    	}
    .page-template-full-width-php .container {
    	width: 100%;
    	}
    .page-template-full-width-php #content {
    	width: 98%;
    	margin: 0 auto;
    	display: inline-block;
    	}
    .page-template-full-width-php .row {
    	margin-left: 0;
    	margin-right: -30px;
    	}
    }

    this is my website
    hospitalnation.com
    i want to stretch the homepage image to full width, how do i do that

Viewing 4 replies - 1 through 4 (of 4 total)
  • If I understand correctly, you have an image to fill the whole body?

    If so, try this Snippet

    Just re-read and this isn’t what you’re asking, sorry.

    Try this post

    Thread Starter sher21

    (@sher21)

    i tried the code given in the post but it is showing minor problem

    left side is ok but it is showing thin padding on the right side of homepage…i have tried various padding option but it doesnot go away..please tell me how to remove it

    thing i want to do
    display section of a page to full width of the browser
    check again my website you can see blue background color making full width with minor problem of padding on the right side

    Thread Starter sher21

    (@sher21)

    never mind problem solved

    i made a mistake in the code

    it should be custom-page-php in place of full-width-php

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to Create Customizr full width template’ is closed to new replies.