WordPress.org

Ready to get started?Download WordPress

Forums

theme list and content pages (4 posts)

  1. dumple
    Member
    Posted 8 years ago #

    After installing the theme switcher, i tried to get a few themes up. The theme list came up with bullets in front of the links and i managed to get rid of the bullets by adding these

    ul, ol, li {
    list-style: none;}

    inside my stylesheet. But what do i need to do in order to align everything to the left inside of having spaces looking as if it's subcategory thingy? Look at this example --> http://img.photobucket.com/albums/v114/dumple/theme_error1.jpg

    Also how do i make all my other content pages (eg; me.php, domain.php) to share the same template as my theme? (Besides using the 'Write Page' function in WP) Anyway, i added these codings (changing the relative path, 'username', etc to my own)

    <?php require_once("/local/home/username/domain/wordpress/wp-blog-header.php");?>
    <?php get_header(); ?>

    and

    <?php get_footer(); ?>

    in all my content pages but it only seems to read my default theme's stylesheet. Like say i have 2 themes (Sunshine and Summer) and i make Summer my default theme. When i click on my content pages, everything comes out nicely, but when i switch to the Sunshine theme and click on the content pages again, the pages come out using the Summer theme.

    Can anyone help me on these 2 problems? Would really appreciate it! Thanks a lot!

  2. moshu
    Member
    Posted 8 years ago #

    Pages. It's a typical mistake what you've done. For all those "pages" (me, domain etc.) you don't have to have a separate physical file for every each of them, if you want to use the Write Page feature - as you said.
    You just have to write the Page's content and WP will display it:
    a) using index.php - if there is no page.php template in the theme
    b) using page.php (a.k.a. default) Page template - if there is one
    c) using a special Page Template created by you - if exists and chosen from the dropdown menu while creating the Page
    See http://codex.wordpress.org/Template_Hierarchy
    http://codex.wordpress.org/Pages#Page_Templates

  3. jbbrwcky
    Member
    Posted 8 years ago #

    For the lists:

    ul {
    padding: 0;
    margin: 0;
    }

    Control the spacing using the margin and padding. IE and Mozilla differ on using padding and margins for UL/OL, so just play around with that.

    Jbbrwcky

  4. dumple
    Member
    Posted 8 years ago #

    I actually wanted to simply use the old pages that were already created. But it now seems like using WP Pages is easier. I tried using it yesterday but probably because i wasn't really focus, my page got all messy and i 'announced' WP Pages is difficult! lol!

    I got the theme list aligned exactly how i want it to be too!

    So thanks for all the help!

Topic Closed

This topic has been closed to new replies.

About this Topic