The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How do I FIND & style certain WordPress sections

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #23803

    I am having a hard time finding certain things and figuring out how to style them in WordPress.

    I would like to find and style..

    the search bar
    the different navigation links that WP makes when I make new pages through wp.
    certain plug ins or widgets I ad.. such as "most recent post"

    What PHP file do I find these in and how do I style them with CSS?
    are they even in a separate PHP file?



    Check out Chris’ 3 part WordPress video series. You’ll probably find most of your answers in there.

    "ikthius" wrote:
    I find the best way is to look at the page/posts view source.

    there you can see the html used and see the id/classes that are used.

    then just style away into the style.css found in your theme directory


    That’s exactly how I do it.


    1. The search form is editable here:
    Search Form (searchform.php) and by CSS

    2. If you mean the links wordpress adds automatically when you add a page it is listed as a list via the wp_list_pages function. Usually located in the sidebar.php file if you are using the default theme.

    3. Your plugins a lot of the time contain there own CSS file. If they haven’t come with one you can go to your website and view the HTML output source and find out what classes are attached to these plugins HTML. From there you just go into your stylesheet and add the classes and ids and style them appropiately.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.