CSS/JS files in WordPress

The theme editor is located under /wp-admin/theme-editor.php and uses get_current_theme(); to give you the first files to edit. From the returned array of theme data, it uses ‘Template Dir’ to locate the directory and ‘Template Files’ to give you a list of files to edit (loops through the files with a foreach loop). For stylesheets … Read more

YARPP php question

Are you setting the border using CSS? If so, you should set “Default display if no results:” under Settings to nothing. If that is nothing, YARPP will show nothing.

Superfish and WordPress: Active Color Problem

Try changing the style of: .sf-menu a, .sf-menu a:visited { /* visited pseudo selector so IE6 applies text colour*/ padding: 5px 10px; color: #FFF; text-decoration:none } The white text colour appears to be coming from there.

Styling last item in ul [closed]

You can use jQuery like this: jQuery(‘ul.children li:last’).addClass(‘last’); And then CSS it with: ul.children li.last { color: red; } Hope this helps. Good luck!

Menu items do not “open” when mouse hover over them?

Seems like the superfish menu plugin is not setting the CSS properties correctly when hovering over the menu item. You can fix this by updating the CSS in your styles.css file at line 155 from: .nav2 li.sfHover ul, ul.nav2 li:hover ul { background: none repeat scroll 0 0 #B3B3B3; color: #FFFFFF; text-decoration: none; z-index: 1000; … Read more

Locally change the font family [closed]

This is not really a WordPress question but I’ll answer it anyway. The first thing you need to know is CSS is your friend. You’ll want to do something like this: In style.css .serif-class {font-family: “Times”, “Times New Roman”, serif;} Then using the html view inside of your post: <span class=”serif-class”> This is an important … Read more