Wordpress: How can I change where it gets the stylesheet from and the divs it makes

Discussion in 'WordPress' started by TobyCS, May 27, 2009.

  1. #1
    How can I change it so it gets the stylesheet from a different folder and how can I make it so it doesn't keep adding random styles onto things like on the navigation it adds

    <li class="page_item page-item-38">
    <li class="page_item page-item-40">
    <li class="page_item page-item-42">
    <li class="page_item page-item-52">

    when i just want it to be <li>
     
    TobyCS, May 27, 2009 IP
  2. Ibn Juferi

    Ibn Juferi Prominent Member

    Messages:
    6,221
    Likes Received:
    365
    Best Answers:
    0
    Trophy Points:
    310
    #2
    The stylesheet should be named styles.css and located in your theme folder.
     
    Ibn Juferi, May 27, 2009 IP
  3. TobyCS

    TobyCS Peon

    Messages:
    43
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    How can I change the 'page_item page-item-number' to something else.

    <li class="page_item"><a href="http://www.tcsdesign.co.uk/site">Home</a></li>
    <li class="page_item page-item-5"><a href="http://www.tcsdesign.co.uk/site/repair" title="Repair">Repair</a></li>
    <li class="page_item page-item-3"><a href="http://www.tcsdesign.co.uk/site/design" title="Design">Design</a></li>
    <li class="page_item page-item-9 current_page_item"><a href="http://www.tcsdesign.co.uk/site/services" title="Services">Services</a></li>
    <li class="page_item page-item-11"><a href="http://www.tcsdesign.co.uk/site/portfolio" title="Portfolio">Portfolio</a></li>
    <li class="page_item page-item-7"><a href="http://www.tcsdesign.co.uk/site/testimonials" title="Testimonials">Testimonials</a></li>
    <li class="page_item page-item-2"><a href="http://www.tcsdesign.co.uk/site/about" title="About">About</a></li>
    <li class="page_item page-item-13"><a href="http://www.tcsdesign.co.uk/site/contact" title="Contact">Contact</a></li>
     
    TobyCS, May 27, 2009 IP
  4. TobyCS

    TobyCS Peon

    Messages:
    43
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    anyone help me with my thing in the second post?
     
    TobyCS, May 27, 2009 IP
  5. nishant.soni

    nishant.soni Active Member

    Messages:
    323
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #5
    EVERYTHING U WANNA CHANGE would be located in "editor" which is under appereance. if ya wanna edit the layout, then edit the respective .php file or edit style.css. simple

    if thats what u wanted to know LOL.
     
    nishant.soni, May 27, 2009 IP
  6. Voya

    Voya Member

    Messages:
    61
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    45
    #6
    That would require modifying Wordpress core function wp_list_pages();...
     
    Voya, May 28, 2009 IP