• Resolved mjblake

    (@mjblake)


    I hope this will be the last question for a while.

    I’ve got these showing up on my page on the right side. I have nothing to go in them yet and would like to remove them for the moment. I have no idea how to do that.

    Any help is really appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • loopme

    (@loopme)

    +1 for that question! it seems to be a default in my theme and not something I can turn off! I haven’t looked at the code yet, but I’m assuming that’s where it would be most easily done. (i’m just dealing with it for now as i don’t want to go and mess it up after i’ve finally got the site working!!)

    Thread Starter mjblake

    (@mjblake)

    I hear you. I’ve crashed my site screwing around with code I don’t understand. I’m relying on the experts now…

    Len

    (@lenk)

    @mjblake

    The code you’re looking for is in sidebar.php Open that file and at the top you will see this …

    <div id="subscribe">
    
    	<p><img style="vertical-align:-2px;" alt="RSS" src="<?php bloginfo('template_directory'); ?>/images/feed-icon-16x16.gif" /> &nbsp;<a href="<?php bloginfo_rss('rss2_url') ?>"><?php _e('Entries RSS'); ?></a> | <a href="<?php bloginfo_rss('comments_rss2_url') ?>"><?php _e('Comments RSS'); ?></a></p>
    
    </div>

    Simply delete it. A caveat: If you delete that bit you may want to adjust your style sheet. Why? Because that DIV is defined in the style sheet and deleting it will leave an empty space where it used to be. Which means the left and right sidebars won’t be evenly matched with respect to the navigation above them.

    To fix that, look in the style sheet (style.css) and you will see this …

    #left {
    width: 190px;
    float:left;
    margin: 0;
    padding: 5px 0 10px 0;
    overflow:hidden;
    }

    #sidebar {
    padding: 0;
    margin: 0 0 0 740px;
    background: #fff;
    }

    The DIV named LEFT controls all elements in the left sidebar while the DIV named SIDEBAR controls those in the right sidebar.

    Note the padding for the DIV LEFT –> 5px 0 10px 0;

    That means it has a top padding of 5px, no right padding, bottom padding of 10px and no left padding. (it reads clockwise)

    Now note the DIV SIDEBAR has no padding at all –> padding: 0;

    So, simply give it a top padding of 5px. It should now look like this …

    #sidebar {
    padding-top: 5px;
    margin: 0 0 0 740px;
    background: #fff;
    }

    This will line things up evenly once you have deleted the earlier stuff.

    Len

    (@lenk)

    @loopme

    This may or may not be theme specific. Is this your site? –> bebackonmonday.com

    If so, that info may be hardcoded in your sidebar or may be simply a widget. If it’s a widget, just remove the widget named Meta. If it’s hardcoded into the theme (that’s a paid theme so I can’t download it to take a look) just edit the file that controls that sidebar.

    Thread Starter mjblake

    (@mjblake)

    wow, LenK. They say only God is all-seeing, all-present, all-knowing…but every time I ask a question, its you that answers. I’m starting to wonder…:)

    P.S. Thanks again for another solution!

    Len

    (@lenk)

    Just keeping an eye on threads I am involved in. I also just happen to be online right now. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘remove Entries RSS | Comments RSS’ is closed to new replies.