- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
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?
Thanks!
Check out Chris’ 3 part WordPress video series. You’ll probably find most of your answers in there.
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
ik
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.