Forums

[resolved] Advice on tweaking classic theme (10 posts)

  1. ejrodgers
    Member
    Posted 3 years ago #

    I'm tweaking the classic theme, as part of my "learning" all about WP and themes. I'm stuck with adding an extra thin column to put a tabbed menu in. Anyone got any ideas.

    My site is: http://www.elliottrodgers.com and the blog is http://www.elliottrodgers.com/myblog

    Any advice or suggestions gratefully appreicated.

    Elliott

  2. Samuel B
    moderator
    Posted 3 years ago #

    a general layou - you will have to play with it
    header.php
    below header stuff add something like

    <div id="navbar">
    	<ul id="nav">
    			<li><a href="<?php echo get_option('home'); ?>">Home</a></li>
    			<?php wp_list_pages('title_li=&depth=4&sort_column=menu_order'); ?>
    		</ul>
    	</div>

    then in stylesheet add something like

    #navbar {
    	width: 680px;
    	float: left;
    	margin: 0px;
    	padding: 0px;
    	}
    #nav {
    	margin: 0px;
    	padding: 0px;
    	}
    
    #nav ul {
    	float: left;
    	list-style: none;
    	margin: 0px;
    	padding: 0px;
    	}
    
    #nav li {
    	float: left;
    	list-style: none;
    	margin: 0px;
    	padding: 0px;
    	}

    you can style the links further with hover and whatever

  3. ejrodgers
    Member
    Posted 3 years ago #

    Thanks for the help... I'll go play with your suggestion and see what I can come up with!

    Cheers!

    Elliott

  4. Samuel B
    moderator
    Posted 3 years ago #

    I just sneaked a peak - wow the sidebar tabs are different!

  5. ejrodgers
    Member
    Posted 3 years ago #

    Well I've got myself much, much nearer.. sadly it's messed up the content slightly...

    Sorry to be a pain in the a*** any further thoughts!

    URL: http://www.elliottrodgers.com/myblog

    I'll keep experimenting until I hear back from you!

  6. ejrodgers
    Member
    Posted 3 years ago #

    BTW is "sidebars are different" a good thing or a bad thing?

    I based the whole website layout on the idea of a "journal"...

  7. ejrodgers
    Member
    Posted 3 years ago #

    Good News, I pretty much got it looking how I wanted... something in the feedback class was causing the problem... *shrug*

    Thanks again for the help. I gave you a thank you mention in the blog!

    Elliott

  8. Samuel B
    moderator
    Posted 3 years ago #

    sorry just getting back but you did great - I really like it

  9. msj904
    Member
    Posted 3 years ago #

    Please advise were I can get full tutorial on how to edit my themes that are coming with different packages like atomic blogging and profit blogger

  10. ejrodgers
    Member
    Posted 3 years ago #

    Sam - :-D I've still got more to do but am a lot happier now the bulk is done.

    msj904 -

    I bought a book (WordPress for Dummies), used the stuff in the WordPress Codex (http://codex.wordpress.org/Theme_Development), experimented and asked a couple of questions here.

    This site has a good tutorial - http://jonathanwold.com/tutorials/wordpress_theme/

    Elliott

Topic Closed

This topic has been closed to new replies.

About this Topic