• Resolved kujoe2002

    (@kujoe2002)


    for my blog: https://www.sixtiesomething.com/

    on the left side under “recent posts” all the links for the posts are butted right underneath each other. I want a space between each link. I know I’m supposed to use a
    somewhere but I’ve looked at the theme editor and am not sure where to put that break.. maybe someone can give me an idea.

    thanks again.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter kujoe2002

    (@kujoe2002)

    .
    . is what I was told to use.. for some reason the paste didnt work

    Thread Starter kujoe2002

    (@kujoe2002)

    anyone know how to add a break
    into the recent posts section? Anyone?

    really you need to edit the CSS to add some space to the links in the sidebar. I looked at the link you provided and really it doesn’t look like you are using wordpress. Ultimately you need to use the CSS line-height:(some number that is correct); on the ul values in the sidebar. You may also have to go into the sidebar.php file and add a class name to the ul value or encase the sidebar.php file in an id so you can only affect the lists in the sidebar while leaving the lists in your posts alone.

    Thread Starter kujoe2002

    (@kujoe2002)

    Also, the site has been changed to https://www.countryalross.com/.

    Plus my friend told me:

    html you just place the blocks where you want them

    php you have to find which line writes what and add a writeline varieable to the end of the write tag..

    now how do I determin what the right line is?

    Thread Starter kujoe2002

    (@kujoe2002)

    really you need to edit the CSS to add some space to the links in the sidebar. I looked at the link you provided and really it doesn’t look like you are using wordpress. Ultimately you need to use the CSS line-height:(some number that is correct); on the ul values in the sidebar. You may also have to go into the sidebar.php file and add a class name to the ul value or encase the sidebar.php file in an id so you can only affect the lists in the sidebar while leaving the lists in your posts alone.

    I am really lost with the ul stuff.

    I think I found the code for the recent posts:

    <?php 	/* Widgetized sidebar,  */
    					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?>
    			<h3 class="widgettitle">Categories</h3>
    			<ul>
    			<?php wp_list_categories('show_count=0&title_li='); ?>
    			</ul>
    			<h3 class="widgettitle">Recent Posts</h3>
    			<ul>
    			<?php wp_get_archives('type=postbypost&limit=5&format=html&before=&after='); ?>
    			</ul>
    			<?php if ( function_exists('wp_tag_cloud') ) { ?>
    			<h3 class="widgettitle">Tags</h3>
    			<?php; } ?>
    			<h3 class="widgettitle">Meta</h3>
    			<ul>
    			<?php wp_register(); ?>
    			<li><?php wp_loginout(); ?></li>
    			<?php wp_meta(); ?>
    			</ul>
    			<?php endif; ?>

    the line I’d need to correct is `
    <h3 class=”widgettitle”>Recent Posts</h3>

      `

      but how do I put the <br /></br> so that it entered correctly. I’m goign to try to edit the index “home” page via HTML coding and then replace the file, unless someone has a better idea.

    Thread Starter kujoe2002

    (@kujoe2002)

    well I found that editing <h3 class="widgettitle">Recent Posts</h3> doesnt do anything other then putting a space between the first link and “Recent Posts”

    Thread Starter kujoe2002

    (@kujoe2002)

    ok.. I’ve figured out what line it is:

    <?php wp_get_archives('type=postbypost&limit=5&format=html&before=&after='); ?>
    			</ul>

    now every time I put
    after archives, or before, between or after post the links dissapear.. so I’m at a complete loss since I know nothing about code.. can ANYONE give any suggestions? It seems like I should be putting some kind of code in postbypost

    Thread Starter kujoe2002

    (@kujoe2002)

    nm, I just went a different route

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘placing spacers between links’ is closed to new replies.