How to increase sidebar width Prose to 336

Community Forums Forums Design Tips and Tricks How to increase sidebar width Prose to 336

This topic is: not resolved

This topic contains 8 replies, has 2 voices, and was last updated by  nicoleao 10 months, 4 weeks ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #81809

    nicoleao
    Participant
    Post count: 4

    I want to increase the width of my primary sidebar to 336 to accomate Google Adsense. I’ve looked everywhere, but can’t find the answer on how to do this. I suppose I’ll have to increase the general width too?

    Could anyone provide with the necessary css codes?

    http://www.momfever.com
    #81815

    RobG
    Participant
    Post count: 1055

    It looks like your current sidebar is 280px you can increase it by accessing the following CSS codes in your style sheet, you might have to also make ajustments to the main content section. Hope this helps
    [php]

    .sidebar {
    display: inline;
    float: right;
    font-size: 14px;
    padding: 10px 0 0;
    width: 280px;

    [/php]


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    #81819

    nicoleao
    Participant
    Post count: 4

    Hi thanks Rob!

    I went to Custom Code and pasted the code, but nothing happened…
    Also how do I make the adjustments to the main content section? What CSS should I use for that?

    #81822

    RobG
    Participant
    Post count: 1055

    I’m looking at your website’s sidebar and the ads look like they’re fiting just fine.


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    #81823

    nicoleao
    Participant
    Post count: 4

    Yes, but that’s because they are not 336. According to google I should make them wider. That’s why I need a wider sidebar.

    #81824

    RobG
    Participant
    Post count: 1055

    What size are the bannner ads are they 300 in width?

    And are you trying to make the changes from your style.css file?


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    • This reply was modified 11 months ago by  RobG.
    • This reply was modified 11 months ago by  RobG.
    #81835

    nicoleao
    Participant
    Post count: 4

    I don’t knwo what size the banner ads are. All I know is that I want the width of my sidebar to become 336.

    I went to custom code and first pased the code you offered in css.
    When that didn’t do anything I pasted it in the field with php. Then my blog was gone, and all I had was a blank page…

    #82472

    RobG
    Participant
    Post count: 1055

    I would think if you’re placing the banner ads in the side bar size would be a big factor. The code I posted is for CSS files only not PHP, so that would not impact it at all.

    The reason I ask about the banner size if because if you placed the correct size banner in your sidebar you won’t have to change the content section because it will require more coding. From this end it’s look like the ads are about 300 x 250 around that size.

    And it looks good from this end


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    • This reply was modified 10 months, 4 weeks ago by  RobG.
    • This reply was modified 10 months, 4 weeks ago by  RobG.
    #82706

    nicoleao
    Participant
    Post count: 4

    The adsense banner is this size, because I want to increase the width of the sidebar first, before placing the bigger ad. Otherwise it will look very messy.

    So I’m still looking for an answer to this question: how do I increase the width of my sidebar tot 336, to accomadate a bigger Google ad.

    I suppose I’ll have to increase: overall width, sidebar width, footer width, and header width?

    But what code should I use, and where do I put this code?

    Could someone please help me out?

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.