• Resolved havingfun

    (@havingfun)


    I am working with adsense ads and am trying to place larger boxed ads onto my sidebar but it runs outside of the sidebar. How can I adjust the width of my sidebar? Can I adjust the width of the main frame of the site too so I can fit leaderboards? How can I place ads onto my homepage too?

    youandthekids.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can adjust the sidebar and main frame width by editing css. they will be .sidebar and .content. I’m not sure the wp-creativix theme but seems you have dashboard theme options to change the width?

    Thread Starter havingfun

    (@havingfun)

    @codingpet

    I am not a coder and get a bit nervous when I play around in the editor but I don’t mind trying. Would you mind telling me where and what code I should type in?

    This is what it shows in the sidebar php:

    <div class="sidebar">
    <ul id="sidebar">
    <?php if ( !function_exists('dynamic_sidebar')
            || !dynamic_sidebar() ) : ?>
     <?php endif; ?>
    
    </div>
    </div>

    And I do not see a content php. Could it be named something else?

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

    @havingfun,

    In your styles.css file you’ll find .sidebar change the width to whatever and make sure you reduce same from .content file.

    Note – See this image, This’ll happen if you do increase the width of sidebar, thats because of you’re using a background image

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘need to adjust sidebar width’ is closed to new replies.