• Resolved sugaboss

    (@sugaboss)


    Hi everyone,

    I am new here and have been stuck with my block for a couple of days.
    I want to use the no side bars layout for my front page but i do not want it a full width layout. I want maybe 80% of the screen width. Can anyone here give me any solution?

    I know that there is option for the slider to not make it full width but what I want is the layout for the whole theme (80% of screen width).

    I thank you in advance for any help.

    Sugaboss

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi Sugaboss. You will need some css styling. A link to your site would help.

    Thread Starter sugaboss

    (@sugaboss)

    Hi Johnny thank you for the response

    The site is still under development .. but I will leave it on for a while. https://bookstart.or.id/wp/

    It can be done but its not simple. You could wrap everything in a div tag and specify a max-width, but be careful because your site is responsive and it will not look good on smaller devices. Your carousel its 1170px wide. Do you want to display the header and footer at the same width, or you want to achieve something else?

    Thread Starter sugaboss

    (@sugaboss)

    Yes Johnny that’s exactly what I want to have. Header and footer at the same width. So I can have a different background colour.

    Ok, got it.
    Try this css rules:

    .tc-header{
       max-width: 1170px;
       margin: 0 auto;
    }
    
    footer#footer {
       max-width: 1170px;
       margin: 0 auto;
    }

    But be aware that it will modify the width only from the desktop view.

    Thread Starter sugaboss

    (@sugaboss)

    I’ll try and check the result … from various device
    Thank you very much

    Thread Starter sugaboss

    (@sugaboss)

    I just apply that and it works flawlessly on desktop.
    I just also check it on my tab and my phones … it looks fine for me

    Thanks a lot Johnny. It means a lot for us.

    Great! Glad I could help.

    Thread Starter sugaboss

    (@sugaboss)

    Hi Johnny … I just realised that the area under the slider is not boxed. Therefore I cannot have a different colour for the general website background and the page area background. Any Idea How to achieve that?

    Hello again. Presuming you are reffering to the area without a white background try this:

    #main-wrapper{
        background-color: #FFF;
    }

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘I don't want a full width layout for the whole website.’ is closed to new replies.