How to shorted post/content area on wordpress

Discussion in 'WordPress' started by eshopper2, Jul 8, 2013.

  1. #1
    hello

    I am trying to reduce/shorted the width of my wordpress blog.I am using graphene theme so from admin panel i tried to do it. but when i try to set 700px as container width,the post area is not fix and it is not looking good.Here is my blog page http://seo.pepdeal.com/shoe-in-money-affiliate-marketing-training-system/

    can anyone help me and give me a css code to reduce the post body to fit within container.
     
    eshopper2, Jul 8, 2013 IP
  2. ashishkg

    ashishkg Active Member

    Messages:
    233
    Likes Received:
    8
    Best Answers:
    3
    Trophy Points:
    68
    #2
    You need to add this in style.css
    .content-main{
    width:680px !Important;
    }
     
    ashishkg, Jul 8, 2013 IP
  3. eshopper2

    eshopper2 Greenhorn

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    hello

    it worked but i resize the container again and it does not work now.My new site width is 500px and i try with the changed cide

    .content-main{
    width:480px !Important;
    }
    Code (markup):

    but post body is not fit in it.Can you please give me a new code

    thanks
     
    eshopper2, Jul 8, 2013 IP
  4. ashishkg

    ashishkg Active Member

    Messages:
    233
    Likes Received:
    8
    Best Answers:
    3
    Trophy Points:
    68
    #4
    You need to use the same which you given above it is because you change the width for the main div to 500px so the middle content area width will be 480px

    1. .content-main{
    2. width:480px !Important;
    3. }
     
    ashishkg, Jul 8, 2013 IP
  5. eshopper2

    eshopper2 Greenhorn

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #5
    I used it.at the above thread I told it.But the problem is that the post content area is not fit even after using the above new code..

    So I need some new code or know what to change to fit the width of post body into the main container.You can take a look in my site to see the post content area is not fit.look at here http://seo.pepdeal.com/shoe-in-money-affiliate-marketing-training-system/
     
    eshopper2, Jul 9, 2013 IP
  6. ashishkg

    ashishkg Active Member

    Messages:
    233
    Likes Received:
    8
    Best Answers:
    3
    Trophy Points:
    68
    #6
    Please send me the site detail or
    contact me via Skype: ashishkg17 or gmail:
     
    ashishkg, Jul 9, 2013 IP