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
39 views

custom header navigation has odd spacing [closed]

Live site. I'm using a custom header on my blog page which features the same coding as my regular heading for nav. The nav looks fine on all pages but the blog page- the Blog button shifts left. Any ...
0
votes
1answer
49 views

displaying the categories post

I have this php code below for displaying the post from the specific categories. <ul id="sliderx"> <?php query_posts('category_name=slideshow&showposts=10'); while (have_posts()) : ...
0
votes
1answer
73 views

Highlight comments made by registered users of the site

How can I highlight comments that have been made by registered users of my blog?
1
vote
1answer
819 views

How to target with css, admin elements according to user role level?

I am using plugins "Capability Manager Enhanced" and "Adminimize". Between these two I have been able to do much of what I want to do. There are still some elements I need to hide and have been able ...
0
votes
2answers
471 views

trouble with page_id & highlighting current page

I'm using the below code to highlight the page name/gallery shown when the corresponding link is clicked on. My challenge is that regardless of what link I click, only the very first ...
0
votes
1answer
131 views

Best practice to include custom user styles in widgets

What's the best way to include custom user styles in widgets? For example adjust colors for buttons, borders etc. without having the user to develop a complete new stylesheet.
0
votes
1answer
3k views

How to style a specific nav menu item?

I have a site, which now have a new registration form and I want to highlight it by blinking the menu item. you can see the site here. I wan to blink "Registration for seminar" item. I am using ...
0
votes
1answer
110 views

Extending body classes in front- and backend

I want to extend both body classes for the front-end as well as for the admin area. I have seen some snippets floating around, which led me to the following ...
0
votes
2answers
164 views

Apply Classes to post text inside editor

I am using a theme that comes with several different font stylings for headers and text. However there is no simple way to apply these classes inside the editor. How can I enable a drop down similar ...
0
votes
2answers
343 views

Thumbnails appear to be zoomed

Im using a theme which has my thumbnais set to 150x150px. But after installing plugin (just too check it out) I noticed it displays them correctly, but the default thumbnails are zoomed in. Can ...
0
votes
2answers
1k views

Calling external Libraries in Wordpress

I am doing some maintenance on a blog that I was hired to create a couple of months ago. They wanted to add a slider in, so I started to implement FlexSlider. I ran into a problem though with the ...
0
votes
2answers
474 views

how would I change background color of a theme using a plugin?

I would like to change themes background color using a plugin. For when I use this code, function change_background_of_theme(){ ?> <style> #main{background: yellow;} </style> ...
2
votes
1answer
57 views

How should I best target dynamically served content?

I am editing the 'Bizz' portfolio Wordpress theme(http://www.wpexplorer.com/bizz-wordpress-theme). It includes custom post types for managing portfolio examples, the highlights on the homepage, etc. ...
0
votes
1answer
414 views

Equal height sections in custom Headway Theme

I have this piece of code: <section class="row row-3"> <section class="column column-1 grid-width-19 grid-left-0"> <section class="column column-2 grid-width-5 ...
0
votes
2answers
2k views

adding a custom css class to post

essentially I need to be able to add a class to a post when it show in the list (say index.php) so when in the back end you can say oneCol, twoCol, threeCol and it will then output this within the ...
1
vote
2answers
288 views

Sub folder CSS that's read by Admin panel

I'm in the process of creating a theme that will have several different setup options based on input from the administrator. One of the options will be to have a Zurb or Basic type layout. I'm ...
2
votes
1answer
5k views

How do you create a custom WPTouch theme?

I have WPTouch Pro installed and it does a great job at device detection as well as handling most blog posts. However, I want to make a mobile version of a homepage that doesn't have any blog posts. ...
0
votes
1answer
189 views

Target admin page body via CSS class

Within admin pages can one target specific pages based on their body class, as in the front end? For example I created a custom post type and would like to target its add and edit pages for some CSS ...
0
votes
1answer
482 views

Tiny MCE custom styles, and preview in the backend

I've added the styles dropdown list to my TinyMCE editor in Wordpress. If I select the style, and preview it on the front end, it looks exactly like I expect it to. However, I'd like to preview it ...
0
votes
2answers
105 views

Wordpress custom styles in menu page

I have added a menu page to my plugin. In the wp codex is described that I can use a seperate .php file for the content of the menu. function register_custom_menu_page() { add_menu_page('custom ...
0
votes
3answers
163 views

Trouble After Update, Removing Plugin

I'm editing this site http://www.millermusicproductions.com/ currently and I updated WP 3.0.1 to 3.3.1. After updating, the page now is zoomed in compared to how it had been and I have no idea why. ...
-4
votes
2answers
754 views

can't make jQuery work (change image on time interval) [closed]

I don't get it why jQuery function is not working. I read on the interned how to load jQuery in wordpress, but with no success. Can anyone help me? What I did so far: I've put this in header.php ...
0
votes
1answer
700 views

Add a specific css to a widget

I have a theme with a sidebar and 3 widgets. I want to change the color of one of those widgets. The problem is that all the widgets have the same code: <div class="box_outer"> <div ...
0
votes
1answer
203 views

Alternating CSS classes for dynamic content [closed]

This is for a gallery that's populated automatically, images are pulled in from child pages. Layout is: 2 images in a row and they must be left- and right-aligned respectively. I can't figure out a ...
-1
votes
1answer
1k views

Theme using masonry layout script rendering overlaped images in Google Chrome [closed]

I have a WordPress theme built with Masonry script , I added a new template file for list gallery, is working ok in FF and IE but in Google Chrome gallery images (inside containers) are overlapped. ...
1
vote
2answers
850 views

How to add a body class based on a custom taxonomy term

I'm trying to insert the slugs of custom taxonomies as classes in the opening body tag on certain WordPress pages. What I have so far is causing errors. I found a bit of help with the examples here ...
-1
votes
1answer
4k views

Add “sub-nav” class to a sub menu parent item

i have a problem. I have an CSS Dropdown Menu. The HTML Code of the is this: <ul id="nav"> <li><a href="#">Home</a></li> <li><a ...
0
votes
1answer
127 views

Custom link color or stylesheets

I'm developing av theme for my WPMU users and are wondering is there a function for choosing the colors on the links? The same way Wordpress lets you change the background-color or header-images. ...
0
votes
1answer
609 views

Targeting a Certain Post in Loop (CSS)

I am making a Top Photos section in a page. This section will have 3 last post (there are galleries in the posts), each with thumbnail, link and excerpt from the posts. The posts will be displayed in ...
2
votes
2answers
121 views

I need to generate the CSS for my plugin from a function, how do i map a request to a function in the front-end?

I'm generating my CSS dinamically in a function using a link like this <link id="www-core-css" rel="stylesheet" href="http://wordpress/myplugin/theme-css-loader.php?v=1" /> and i was ...
2
votes
1answer
898 views

How to load different css file depending on language

I am running a multilingual wordpress site - English and Japanese. I am using transposh plugin to make the English text translated to Japanese. And when the user choose Japanese, there will be a words ...
1
vote
1answer
561 views

How does W3 Total Cache Load Images In Stylesheet via CDN? [closed]

W3 Total Cache uses all the PHP / WordPress API trickery at hand to make sure all static content (CSS, JS, Images, etc.) is served from the CDN URL. But how does it make sure that even the images ...
1
vote
2answers
2k views

hfeed CSS class in Twentyeleven Theme

The twentyeleven theme has hfeed class attached with the main container #page. I could not find any definition of hfeed in style.css. Does it have any purpose or its just a random class name given?
3
votes
2answers
238 views

Changing title to lowercase [closed]

Lets say i have 100 posts. And i would like to lowercase the title. but only 70 of it. I cant use text-transform or mb_strtolower. Is there anyway to download posts and lowercase the title with ...
2
votes
1answer
2k views

How do I register a stylesheet inside a WordPress widget?

I'm developing a WordPress widget following Dave Clements tutorial. It works well. Now I want to add some styles to it. I want the styles to be in an extra css file which will be loaded during ...
0
votes
2answers
495 views

JetPack comment threads are displaying above comment box? [closed]

As you can see in the attached image (http://i.imgur.com/V7642.png) my JetPack comments are rendering above the Discuss box. How do I go about moving them down? When I look in Chrome Inspector there ...
1
vote
1answer
577 views

Adding another “Add Post” button to admin

I would like another "Add post" button in the admin except I am going to call it "Add voucher". It will run specific plugins that add post will not. However that is irrelivant, all I need to know it ...
0
votes
2answers
353 views

CSS Customizations for certain page

I've been using Wordpress for a while, and came to a point where I need to make css customizations, but only for a certain page. I know that one way to do this is to use conditional tags: if ( ...
0
votes
1answer
162 views

Date based CSS/theme

Is it possible to set a CSS stylesheet or a theme for articles that were published before X date? The reason I ask is that we've just redesigned our website and some pages have images that are wider ...
0
votes
1answer
246 views

CSS not being applied using wp_enqueue_style

I am trying to load my style sheets in my plugin but they are not being called, the javascript files however, are being loaded. <?php /** Plugin Name: Plugin URI: Description: Version: Author: ...
2
votes
3answers
428 views

Is it possible to enqueue a raw CSS string directly from within a template file?

I was wondering if it's possible to enqueue raw CSS as a string directly from within a template file? I'm writing a custom template for a page and need to add some style rules for it. What I want to ...
1
vote
1answer
2k views

CSS for Created Menu “Active Selected” not working, everything else is!

I have created a Menu (for the nav bar) it is placed in a copy of the header.php file in my child theme right below: <?php wp_nav_menu( array( 'container_class' => 'menu-header', ...
0
votes
1answer
368 views

Add classes + taxonomy terms to wp_list_pages() output

I'm outputting a list of pages in my custom post type — a kind of tree — using wp_list_pages(). All's going well, except now I want to put some classes in the li's for styling. Even that's not going ...
7
votes
1answer
642 views

Assign a Class to the Current “Tag” for Formatting

Essentially what I am hoping to replicate is something like the "current-menu-item" class that is applied to WP Menus. My client is wanting to use Tags as a sub-nav, and I've managed to get the tags ...
4
votes
1answer
1k views

Automatically decrease font size for long words

I am working on an e-commerce site in which post and product titles will need to be displayed in fairly narrow divs. I would like to set a specific font size for words which can naturally fit in the ...
0
votes
1answer
94 views

Custom image size vs CSS sizing

I am developing a theme which will have 2 configuration options for the slideshow in the header; a full width version and a half width version. The theme is also responsive and so I am trying to ...
3
votes
4answers
4k views

Custom per-page sidebar widgets .. possible?

Let's say I'm doing a site about cars, and in the main content area of a Page (using a certain template), there are a few paragraphs about a particular car. In the sidebar, are several standard ...
1
vote
2answers
1k views

How do you customize the admin bar for buddypress?

I would like to update the coding on the wp-admin-bar. Since its positioned absolute, I would like to put a div around it that is relative and or just in a normal div. Or, I see you can hide the bar, ...
2
votes
2answers
2k views

How to implement different color schemes in your themes

This question is for theme developers. I know how to use the settings API to gather input data, but I was wondering what's the best way include the styles. Let's say you have 4-5 versions of the ...
0
votes
2answers
527 views

styles/default.css in markup, where does it come from? [closed]

I have the following line under the head tag but I don't have the file styles/default.css in my theme and consequently get a loading error in browsers. I'd like to eliminate this line but I don't know ...