• Resolved wildbug

    (@wildbug)


    I am using a new free WP theme and it’s much harder for me to modify than other themes I’ve used. I can’t figure out a few really simple things. I hope someone can help me out.

    Here is my site. I want to:

    1. reduce top margin (so that the blog title is closer to the top of the screen)
    2. enlarge font-size of sidebar navigation
    3. remove “Home” link on sidebar navigation

    Anyone know how to do these things? Thanks so much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    to reduce the top margin look in layout.css for:

    body {
    	margin: 40px 10%;
    	border: none;
    	padding: 0;
    }

    to enlarge the font size put this in style.css:

    #pages div.widget_content ul li a {
    	font-size: 20px;
    }

    are you using the wordpress pages widget?

    Thread Starter wildbug

    (@wildbug)

    Thanks so much for the first tip about margin. That worked.
    Second tip about enlarging font size did not work.

    Right now I am not using any widgets in the sidebar. But the theme seems to be using some widgets. Here is possibly related code in sidebar.php:

    <div id="sidebar">
    	<hr />
    	<h2>Sidebar</h2>
    <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar()): /* Sidebar Widgets Plugin (http://automattic.com/code/widgets/) */ ?>
    	<div id="pages" class="widget">
    		<h3>Pages</h3>
    		<?php if (function_exists('wswwpx_fold_page_list')) { ?>
    		<div class="widget_content">
    			<ul>
    				<?php wswwpx_fold_page_list('sort_column=menu_order&title_li='); /* Fold Page List Plugin (http://www.webspaceworks.com/resources/wordpress/30/) */ ?>
    			</ul>
    		</div>
    		<?php } else wp_page_menu('sort_column=menu_order&depth=1&menu_class=widget_content&show_home=1') ?>

    I’m really confused by it. If I try putting a Pages widget or Custom widget in the widget section, I lose all the nice formatting that comes with the theme, including the rollover symbols to the right of the menu links. I’ve had to reinstall WP 4x already to get it back.

    Thread Starter wildbug

    (@wildbug)

    Oh, I just realized the answer to my 3rd question…in the php code I posted above, i found this: “&show_home=1” and changed it to “&show_home=0” so that fixed it for me.

    Now all I need help figuring out is how to enlarge that menu font. I have tried everything I can think of. Thanks for any help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘3 quick CSS questions to finish my site’ is closed to new replies.