WordPress.org

Ready to get started?Download WordPress

Forums

How to change style.css to change to horizontal list (6 posts)

  1. new2wp
    Member
    Posted 8 years ago #

    Hello,

    I want to place the "categories list" in my header and have the list display horizontal. So far I have the list displaying in the header, but it is vertical.

    How and where in the default style.css file do I make the list display horizontal? What code?

    Is there another way to do this without any change to the style.css file?

    I have read about this and tried several times to make it work.

    Thanks for the help.

  2. brittanie
    Member
    Posted 8 years ago #

    Creating horizontal menus applies to Page lists, but could be very easily be modified for *any* list.

  3. museum
    Member
    Posted 8 years ago #

    Works perfectly adding the <?php list_cats(); ?> in "navmenu"
    but how to customize? ( I don't like the You are seeing Articles in category 'Category 2' etc.
    Is it possible to have a Page who shows post of a unique category?

  4. brittanie
    Member
    Posted 8 years ago #

    You'll have to edit out the line you don't like in the template file — try archives.php and look for the section labeled "if this is a cat archive." You can furthur customize by changing the CSS for that section — see the above link for more info on that.

    I'm not sure what you mean by your second question — could you go into a bit more detail?

  5. museum
    Member
    Posted 8 years ago #

    The question was if we can integrate in a Page (easier to customize) post of a determinated category and only this.
    We can imagine a "coocking" Page in nav menu who will show all the category tagged post of "coocking" but with a particular template.
    By the way I found that we can customize Category Templates so I will test this before.
    @brittanie:Do you use a particular plugin to display you zenphotos gallery?

  6. brittanie
    Member
    Posted 8 years ago #

    No, zenphoto is it's own software just like wordpress. I installed it so that my zenphoto tables used the same database as my wordpress tables, and then I used this theme (zenphoto lets you download themes just like wordpress) to make it look the same as the rest of my site. I had to tweak it a bit but it was very, very easy.

Topic Closed

This topic has been closed to new replies.

About this Topic