Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1033124

    Hi,

    I used the code in the documentation to force featured images to be full width when using the default post layout and I adjusted the max width so that the width of the rest of the container would be smaller (1110px) which worked fine. The problem is that now the header container is also full width, and looks bad. I only want the featured image to be full width.

    This is the code I used:
    /*—————————————–
    // CSS – Full-width Featured image
    //—————————————-*/

    #top.single .container {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    }
    #top.single .entry-content-wrapper {
    max-width:100%!important;
    margin:0 auto;
    padding:0 50px;
    background:gold;
    }
    #top.single .entry-content {
    max-width:100%!important;
    margin:0 auto;
    }
    #top.single .content {
    padding-top: 0 !important;
    }

    #1034551

    Hey williamslyd,

    Try the code like this:

    
    
    #top.single #main .container {
    	padding: 0 !important;
    	width: 100% !important;
    	max-width: 100% !important;
    }
    #top.single #main .entry-content-wrapper {
    	max-width:100%!important;
    	margin:0 auto;
    	padding:0 50px;
    	background:gold;
    }
    #top.single #main .entry-content {
    	max-width:100%!important;
    	margin:0 auto;
    }
    #top.single #main .content {
    	padding-top: 0 !important;
    }
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.