Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics (the look and formatting) of HTML output, usually via Themes. When you have to use this tag, then there's a high chance that your question is off topic on this SE network site.

learn more… | top users | synonyms

0
votes
1answer
78 views

Last class on last headline?

I have the following code which should add a last class to the fourth post but doesn't appear to be, what is wrong with this coding? It show's 4 posts fine but the fourth one doesn't have the class ...
2
votes
2answers
3k views

How to conditionally enqueue a stylesheet only for a certain page(s)?

Before I get started, I want to acknowledge that there are some really good articles that are targeted at how to conditionally enqueue scripts based on page/post content. WordPress Plugin ...
0
votes
1answer
133 views

Background tiles not working in iPad2 but ok everywhere else

A new site I'm working on is looking good in the major browsers, mac and pc, but something's wrong when viewed on an iPad2 - specifically the background tiles. In this design I use one giant bg image ...
2
votes
1answer
612 views

Get Stylesheet To Showup in WP Admin Panel Editor

So I have a css file that is called blue.css and a universal one called style.css I have a few css colors inside a /css folder. How do I get all those css files to show up in my Admin panel editor?
0
votes
1answer
115 views

Using categories on navigation bar instead of pages

Check this url (www.linuxstall.com). The top navigation bar has one page (about us). I want the categories there, not pages. How can I do that?
0
votes
1answer
194 views

Wordpress doesn't recognise created theme

I just started creating new theme in wordpress, I got the html/css, I put the heading in css like usual: /* Theme Name: Your Theme Name Theme URI: http://your-theme-homepage.com Description: Oh what ...
0
votes
1answer
115 views

Wordpress getting css and script files from client machine rather than the server machine

I'm a noob Wordpress user and I'm having an odd problem. I managed to install Wordpress edit the wp-config file and everything. However when I browse my site from a remote machine no css or script ...
0
votes
2answers
430 views

Change CSS on a wordpress post

I want to change the Right-Hand style on the post http://sherridon.bluefrogclients.com/2010/12/15/wellington. Please let me know how to achieve this. Thanks. Sunil.
3
votes
1answer
263 views

Why max-width:97.5% on content images?

Is there a specific reason why we can find max-width:97.5% instead of 100% in common themes such as Twenty Eleven?
0
votes
1answer
464 views

jQuery UI Theme that aligns perfectly with the admin UI

Anyone knows a theme that's not only close (like "smoothness"), but really aligns with the look and feel of the admin UI?
0
votes
1answer
2k views

Using theme options to change link colours

I'm developing a WordPress theme with some theme options (using the ThemeShaper sample theme options page), and one of the options I want is to allow users to set their own link colours. At the ...
0
votes
1answer
435 views

Using PHP Increment and Conditional Statement to Alternate Loop Background

I'm trying to alternate the background on a theme page that is displaying a custom loop: $args = array( 'post-type' => 'portfolio', 'posts_per_page' => 10 ); $loop = new ...
-1
votes
2answers
1k views

Changing CSS in Twenty Eleven to change font size of body text

How do I alter the CSS of Twenty Eleven so that all the body text in posts and on pages is bigger? And is the change I make for this in the files on my server, or through the browser in the Admin ...
0
votes
1answer
231 views

How to customize wordpress sidebar widget

This is how i registered my sidebar: register_sidebar(array( 'name' => 'Post Sidebar', 'before_widget' => '<div class="widgetdiv"><div id="%1$s" class="widget ...
5
votes
3answers
365 views

How to make a theme with more than one CSS file?

I've made my first theme and now I want to create different "profiles". These profiles are just independent CSS files that user can try. The point is, how to make these files to allow users to choose ...
1
vote
1answer
616 views

How to override my plugin's php classes with duplicates that are in my child theme folder

I have a child theme in wordpress and one of the plugins I am using is called jigoshop. I made a copy of a few php classes from the plugin and placed them in my child theme folder. I want these ...
-1
votes
1answer
3k views

Is there any way to change the CSS class applied to 2nd level sub menu ul's?

I'm running into a problem trying to style a drop down menu with a second level. Wordpress seems to apply the same .sub-menu class to any and all sub menus, and I can't figure out a reliable, ...
-1
votes
1answer
431 views

css targeting submenu current-menu-item list item [closed]

Hi trying to target the only the first list item of a sub menu with current-menu-item class, but having no joy. Any help link to example jsfiddle
0
votes
1answer
188 views

Adding a navigation page state to individual blog and portfolio pages

I'm using a Woo Themes template (Simplicity) for a client's web site. I'm using the portfolio page as the profile pages (Our Trainers). Also have a blog category in the main nav. How do I get the ...
0
votes
3answers
2k views

Image Captions Have a 10px Extra Margin, And It's Not CSS? [duplicate]

Possible Duplicate: Caption in Page adding unwanted 10px to width This is a screen capture from a post. I have given .wp-caption a black background so the extra 10px margin on the right ...
8
votes
1answer
3k views

wp_enqueue_scripts, wp_register_scripts, wp_print_scripts: i'm confused

I've been reading up a bit on this subject, but the more I read - the more confused I get. Can someone explain to me in short what's the exact difference between wp_enqueue_scripts, ...
0
votes
1answer
68 views

image background is cut [closed]

http://dev.freelanceu.net/mjl/miamischool/ that's my webpage that has a problem in the background, I don't even declared it as no-repeat but still the background was cut at the bottom. I'm confused ...
0
votes
2answers
6k views

how to hide submenus for the not active pages

I would like to expand only the active part of the sidebar menu and hide the parts which have nothing to do with the actual selection. Just like how its done on every Explorer like file manager, or ...
2
votes
1answer
507 views

Overriding Gallery Margin

Continuing the build on a free theme. Working on the gallery CSS. Wordpress automatically adds a left margin to the gallery. Example: http://themeforward.com/demo2/features/gallery-2/ So, how do I ...
0
votes
1answer
106 views

Locally change the font family [closed]

I'm using the standard Wordpress theme (WordPress Default 1.6 by Michael Heilemann). The standard font for my articles is a sans-serif font. I'd like to display, for a sentence only, a serif font ...
1
vote
1answer
110 views

How to make classes for posts?

Thanks in advance. I'd like to have posts with different colored borders and headers. It would be nice to choose a category of the post (red, blue, black, etc.) and have it change the class for that ...
0
votes
2answers
109 views

Plugin Development/ Stop CSS clashes.

I have searched all over and I am a little confused about my first plugin that I am developing. I created a shortcode that the user can use on any page they create. The issue is that on a lot of ...
0
votes
1answer
319 views

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

I am using "basic magazine" wootheme, and for some reason my top menu navigation bar doesn't "open" when I hover the mouse above it: http://www.danceinisrael.com/ Is there some CSS problem there? ...
0
votes
2answers
635 views

Styling last item in ul [closed]

I'm looking to format the bullets for the last item of the list. I'm using Firebug to pinpoint where the menu item is and I have two options in front of me: Screenshot 1 Screenshot 2 - Includes ...
0
votes
2answers
981 views

jQuery UI styles conflicting with TinyMCE dialog

I'm using jQuery UI for a few custom controls on the page edit screen and I've noticed that the styling of the jQuery UI dialogs are conflicting with the TinyMCE dialog. Specifically the buttons and ...
1
vote
2answers
506 views

How to display custom style based on theme option select box

How can I display a different style snippet if a user selects and option from my theme options page select box. For example. To show the sidebar on the right a user would select "Right" and the ...
0
votes
1answer
44 views

Inserting a DIV Block Into a Listing of Excerpts?

I'm sure there has to be a tutorial for this, I just can't find it. I'm also pretty confident there's numerous ways to do this and I'm looking for the best. I've never had to do this before, so ...
0
votes
1answer
724 views

Superfish and WordPress: Active Color Problem

Take a look at: http://www.themeforward.com/demo2. When I hover over a menu item with a sub-menu, like 'Templates', and mouse over sub-menu items the background color stays the same as it should... ...
0
votes
1answer
39 views

Creating a blog on my companies new website using Wordpress but I have sidebar issues

As said in the title, I am creating a blog on my companies new website using Wordpress but I have sidebar issues. The website is only in production phase at the moment. The Link is so you can see ...
1
vote
1answer
1k views

How to find out if page_for_posts is showing (in order to style menu item)

I have set a static page for posts (page id = 110). This page shold only be included in the menu when the user is logged in. The latter is achieved with the following addition to header.php (snippet ...
0
votes
1answer
1k views

How do i make a sidebar background color? [closed]

With the 20-11 theme i would like to make the sidebar one long color. I have no idea how long my page are and i need the sidebar height to be the same as the post height. Right now when i do ...
0
votes
1answer
59 views

YARPP php question

I'm trying to put a border under related_posts() ,it works, but the border is showing even when the there are no posts. How do I make the border show only when there are related posts to show?
-1
votes
3answers
1k views

Stop underlining image links

One my widget bar, I have an image which is hyperlinked. The problem is that CSS underlines it. How do I remove the underline? Update: Just noticed that this is what is causing the underline: } ...
1
vote
1answer
114 views

How do I include background images in my stylesheets in a plugin?

I'm trying to specify a background image in a style in a plugin I'm making. I was just outputing tags from the php, but realized I should probably be using enqueue_style... But how do I put a line of ...
10
votes
4answers
4k views

Solutions for generating dynamic javascript / CSS

Let's say you need to generate javascript or CSS code that depends on the current context. For example you have a form on the homepage that fires an ajax request on submit, and a different form on ...
1
vote
1answer
324 views

Displaying icon image for WordPress post formats, is there a cleaner way to do this?

The code I am currently using in the loop is in this code snippet: https://gist.github.com/1316622 This just seems messy, and long. I am thinking the best method would really be to use CSS ...
1
vote
1answer
1k views

wp_enqueue_style with style.php and Wordpress functions

I use wp_enqueue_style to add my stylesheet, like this: <?php wp_enqueue_style( 'theme-style', get_template_directory_uri() . '/style.php', false, '1.0', 'all' ); ?> It works fine BUT I need ...
0
votes
1answer
354 views

Thumbnail Image Rounded Corners w CSS (or any other good method)

I've been researching how to display thumbnails with rounded images, but every solution ends up running out of gas. One trick I tried was wrapping the thumbnail in a division with the same size and ...
0
votes
1answer
361 views

Right align a youtube video

I'm trying to right align (class="alignright") a YouTube video AND allow my client to edit the surrounding text in the future using the visual editor. I simply added class="alignright" to the tag ...
0
votes
1answer
289 views

Creating a mobile site by adding a new class to the body tag from functions.php

Essentially is there a way to use a function in functions.php to turn the <body> tag into <body class="mobile">? I have code that recognizes mobile devices but right now it's set up to ...
1
vote
3answers
74 views

How Do I Figure Out What File(s) to Edit from Looking at the Source Code [closed]

I just started working at a company and they have a website that was partially completed by another designer and have hired me to complete and make changes to it. It seems that most of the website was ...
1
vote
2answers
273 views

Can I install/embed Wordpress on a 'single page'?

I'm building a website from scratch (PHP, jQuery) and want to have full control over the design, implementation, etc. I want to install Wordpress so that when you go to a certain section of the site, ...
1
vote
1answer
546 views

How can I make this custom menu work?

Can someone share with me the easiest way to convert this to work with wordpress’s 3.0 built in menu support. So far I have the topnav menu working correctly, but I’m having a hard time getting the ...
1
vote
2answers
112 views

Accessing Style Sheet Comment Like Wordpress

I want to know how to access the comments on the top of a style sheet with php , like the way wordpress does. If we create a new theme for wordpress than we have to enter our name , blog name and ...
0
votes
1answer
517 views

.current_page_ancestor broken in Twenty Eleven

I would like to have a level 1 menu in a vertical menu and a full menu in a vertical menu in the left sidebar in Twenty Eleven. My problem is that I would like to make the top item bold if the user is ...