Support » Fixing WordPress » Container width

  • Hi everyboby
    I am a newbee on wordpress and iam trying to change the all width size of my website to 940px max.

    I have tried to edit the bottstrap file but i don’t understand a line!! 🙁

    Do you have any idea where should I look and what to change?

    Thank you guys for your help

Viewing 12 replies - 1 through 12 (of 12 total)
  • Sultan

    (@sultan_semmaiyahoocom)

    in your header.php start a div

    for example
    <div class=”container”>
    after your <body>

    and close it in your footer.php

    </div>

    in your css
    .container{

    width:940px;
    margin:0 auto;
    }

    @spyro webz: Thank you contributing to the forums but please do not encourage people to edit theme files directly. At best, they will lose all of their changes when they update the theme. At worst, they could bring their site down. They should be recommended to create a child theme or use a custom CSS plugin for their changes.

    Thread Starter tsaong

    (@tsaong)

    Thank you Spyro but It didn’t work
    all the block are moved !!

    Sultan

    (@sultan_semmaiyahoocom)

    give me your link please

    Thread Starter tsaong

    (@tsaong)

    here’s the link flyerforu.com

    Thread Starter tsaong

    (@tsaong)

    thank you for your help

    I’m sorry but as you appear to be using a non-WPORG theme, you need to seek support from the theme’s developers – paid or otherwise. We only support themes downloaded from wordpress.org here.
    Try http://yithemes.com

    Thread Starter tsaong

    (@tsaong)

    That’s what i’ve done first, and they told me to ask here !

    We do not have access to, nor do we support, commercial themes as you paid for support when you bought the theme. It is not our place to keep theme vendors in business or deprive them of any income that they may derive from support services.

    Sultan

    (@sultan_semmaiyahoocom)

    you cant decrease the width of your container

    because then you need to changes a lot of css.

    all the box inside your container effected.

    Sultan

    (@sultan_semmaiyahoocom)

    You need to change your span1 upto span12 classes as well if you want to change your container so my suggestion is leave it as it is. or hire some one fro it to do it for you if you not have knowledge about css.

    Thread Starter tsaong

    (@tsaong)

    I might find a way, thank you very much Spyro for your help. you right i need to change the entire Span collection details!!!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Container width’ is closed to new replies.