A web style sheet is a form of separation of presentation and content for web design in which the markup (i.e., HTML or XHTML) of a webpage contains the page's semantic content and structure, but does not define its visual layout (style). Instead, the style is defined in an external style sheet file ...

learn more… | top users | synonyms

0
votes
1answer
118 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
2answers
151 views

Minimizing scripts & css files that plugins add

I try my best to limit plugin usage and only use ones that are well designed. But I still find that many will load a lot of extra scripts and styles, and few have options to load selectively based on ...
1
vote
1answer
515 views

Deregister default wp-admin css on login screen only?

I have a question about deregistering 'wp-admin' styles specifically on the login screen. If I just globally run: <?php wp_deregister_style( 'wp-admin' ); ?> my login screen will have no ...
1
vote
1answer
331 views

Whats the proper way to use a php stylesheet in a wordpress theme? [duplicate]

Possible Duplicate: How can I use WordPress functions in my stylesheet? I have a file, custom.php, thats basically a stylesheet with php variables for the styles. I used this guide to make ...
1
vote
1answer
297 views

Style category link depending on category ID

I want to style a link depending on its ID, for instance, if the category ID is 2, then I want the link to be pink. My theme calls the category like this: <?php if (in_array('categories', ...
0
votes
1answer
201 views

Having issue with WordPress wp_enqueue_style

I am building a full design into WordPress for the first time and I am trying to load in stylesheets and script files but all I seem to be getting is the text output of the location. What I have is ...
0
votes
1answer
240 views

Multiple Stylesheets For Post and post type?

Hi i'm asking this question here because i don't know exactly how to put this into words on google lol. But I have a blog and i am using custom post type and each post type will have a different ...
1
vote
1answer
798 views

Enqueue styles after a plugin

Is there a way to enqueue my style.css (and other stylesheets) AFTER a certain plugin enqueues its styles? Specifically, I want my style.css to overwrite cforms's styles, but when I change the ...
0
votes
1answer
121 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
2answers
144 views

How do I separate my theme's styles from editor styles?

Do I need to implement an editor-specific stylesheet for the WordPress WYSIWYG? In doing so will this eliminate style conflicts that I am currently experiencing?I am have not implemented an editor ...
0
votes
1answer
1k views

images within style sheet

I hope someone will be able to help me with this, because it's starting to freak me out. Have been searching hours to find a way to put image paths in my stylesheet, but have not been able to. The ...
1
vote
1answer
1k 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 ...
3
votes
1answer
237 views

TinyMCE custom stylesheets for different post types

I use a custom stylesheet for TinyMCE, by placing custom styles in editor-style.css in my theme's directory. I am trying to figure out how to use a different stylesheet depending on what post type we ...
2
votes
2answers
2k views

how to make stylesheet appear in theme editor?

I have a stylesheet in my theme in the css subdir of the theme dir (css/style.css). The question is how to make this .css file appear in the theme editor of the WordPress admin. (I know using the web ...
2
votes
2answers
1k 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
1answer
910 views

How to separate each individual blog post?

Im trying to create a blog page that has each post separate with a border around each one. A good example I can think of would be http://blog.pagodabox.com/. How every post is divided into its own ...
0
votes
1answer
554 views

How can I style a certain element only when wptouch is active?

I just installed the wptouch plugin for auto-styling my blog in mobile devices. How can I style a certain element on my page to be hidden when this view is active? I.e., in particular, on my blog ...
2
votes
2answers
1k views

When enqueing a stylesheet, is it possible to remove the type attribute?

I'm updating my self-built theme to HTML5, and easily made a number of changes already. My theme's sole stylesheet is added to the page head via wp_enqueue_style in the functions.php file, as ...
2
votes
3answers
7k views

how do I queue my Child stylesheet/s *after* every Parent stylesheet/statement?

I'm using the well-written Oenology theme by Chip Bennett as the Parent to my own Child theme. In my development process, I've discovered that there are some challenges for people writing Child ...
0
votes
2answers
232 views

Proper way to include stylesheet for panels

What is the proper way to include a stylesheet with my options panels in wp-admin for a given plugin or theme. In other words -- the stylesheet that styles the panels. I mean, in my panel template ...
0
votes
2answers
66 views

Sidebar doesnt get updated?

I was trying to edit a theme by updating the style.css of it. But I also needed to add some manual html to the sidebar like ul li's . I maintained the order and updated the html od sidebar within the ...
1
vote
1answer
338 views

Admin Panel pagination link styles

Whenever I write plugins that use Admin Panels, I include some form of pagination using the paginate_links method and I have always been able to style them in a nice way using the suggestions on this ...
13
votes
3answers
2k views

How important is it to enqueue a theme's stylesheet?

I have trawled the net looking for an answer to this, but for some reason all I can find are actual examples, but without that particular explanation, which is clear say in the case of scripts. Can ...
0
votes
1answer
408 views

404 error on dynamic stylesheet creation

Following this solution to create dynamic css instead of inline css from sorich87 I get an error when requesting the dynamically generated stylesheet. Css is in there but also the default wp error ...
0
votes
3answers
144 views

Exclude stylesheet from admin

I have been using the following function to enqueue some CSS to my theme. However, they are used in the admin area as well: wp_enqueue_style(...) I don't want them to be used in the admin area. ...
1
vote
1answer
587 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
vote
1answer
254 views

Changing stylesheet depending on custom taxonomy terms

My client would like the background & header colors to switch depending on terms within the custom taxonomy 'Grades'. These terms are kindergarten, first grade, second grade, etc... (all ...
1
vote
2answers
263 views

getting url in wp_enqueue_style

I'm having trouble getting the second argument in wp_enque_style. Here's how my site is setup: style.css custom_style.css index.php In a template, I have this code: $stylesheet_url = ...
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 ...
0
votes
1answer
1k views

what could cause get_stylesheet_directory_uri() to fail?

On my new worpress install, I have code that reads <img src="<?php get_stylesheet_directory_uri(); ?>/images/logo.jpg" /> This code worked, untill I started using a subdomain (went ...
0
votes
2answers
432 views

problem loading stylesheets to wp_head dynamically

I'm trying to create a wrapper shortcut function to register and load stylesheets in the header. currently, the function loads this css file src: http://my.test/wp-content/theme/css/.css I, ...
1
vote
1answer
224 views

How to load parent theme style.css?

My WordPress site uses a theme that is a child of a parent theme. As required, both themes have style.css files. However, as far as I can tell WordPress only provides the mechanism to load the child ...
0
votes
2answers
1k views

WordPress Child Theme - twentyeleven

This is my first attempt at creating a child theme based off the WP twentyeleven theme. To begin with, I am using MAMP on my mac and have the following directory structure: ...
0
votes
1answer
987 views

Styling issue with custom menus and sub menus

In a previous question I asked (and later worked out) how to style sub menus, I want to expand on that with another question related to styling sub-menus. I have hit an issue were if the parent is ...
0
votes
1answer
5k views

Modify Twentyeleven child theme CSS - How to change body font size?

I've created a twentyeleven-child theme and activated it. I'm trying to increase the size of the body font on all pages. Do I do this in style.css of the twentyeleven-child theme? I can't find the ...
0
votes
2answers
1k views

Adding style sheet to specific page

I have set a page as a homepage for my site. There are specific style sheets just for the homepage that I don't need to use globally. I'm still new to WordPress so this is so confusing to me. I ...
0
votes
1answer
188 views

Links on the page, when being printed, have the URL next to them

I'm attempting to create a print.css stylesheet for my site and I'm running into an interesting problem. When I print any page on my site, all the links on the page are printing the URL directly next ...
0
votes
1answer
192 views

My blog suddenly can't find my stylesheet?

I created a custom theme awhile back, and everything has worked fine up until now. All of a sudden, my theme was reverted back to the default twenty eleven theme because apparently my custom theme is ...
0
votes
1answer
217 views

Alternate stylesheet only works with absolute address for link?

I am trying to add a stylesheet when users are accessing the blog section of my site from and iPad. The first snippet of code works, however, I don't want to use the absolute path. I want to use ...
-1
votes
1answer
354 views

Making a 1140px wide header logo in the twenty-ten theme?

I've created a child theme that is a wide version of twenty-ten, and it is working for the most part. But I am struggling to make the header logo wider. You can see the work in progress here at ...
3
votes
3answers
398 views

Stylesheet switching and caching

I'm implementing a site that allows users to switch stylesheets (to show a high contrast version for people with vision impairments). The switcher essentially just changes the <link>ref to ...
1
vote
1answer
751 views

Loading different stylesheet on Wordpress pages?

I have one stylesheet linked to my Wordpress page in header section: <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/style.css" /> Now, I want to ...
1
vote
1answer
82 views

Remove Wordpress Scripts

I am working on a custom page template in my theme, i want to remove all other styles and scripts which are loaded, like default theme style, jquery & other scripts, i want to remove all for the ...
1
vote
1answer
646 views

Wordpress override bloginfo variable

How would I override a bloginfo variable in wordpress? For example, I want to replace this: <?php bloginfo('stylesheet_directory'); ?> to return a custom URL like http://mysites.com/hello/
-2
votes
1answer
89 views

Problems loading stylesheet and permalinks after rebooting

I am using Ubuntu Server 10.04.02 LTS to host my WordPress, which version is 2.9.2. The problem is, after rebooting the server and loading my homepage of WordPress, the style of my blog was just ...
1
vote
1answer
576 views

Dynamically add CSS to the visual editor

I created an options page for my theme, where I can manually edit the CSS. Lets say I change the CSS in the options page for the <H1> tag, so it will now change it on the front-end. What I want ...
1
vote
2answers
5k views

Specific css on homepage, different one for other pages

Is there a way to have specific css on the homepage and use a different one for all the other pages?
6
votes
2answers
541 views

Style reply form different than comment form

Is there a way to display (css and html) in a different way the "reply" form and the main "comment" form?
1
vote
3answers
2k views

Can't edit style.css in subdirectory of my theme?

I want to edit a file style.css but the theme editor shows this: /* ---------- Reset Tags ----------- */ @import url("css/reset.css"); /* ---------- Reset Tags ----------- */ @import ...
2
votes
2answers
847 views

add generated stylesheet from parent theme after child-themes style.css

I have a child-theme -> parent-theme setup, where I need to have stylesheet called generated.css loaded in addition to the style.css file added by the active child-theme. The generated.css file is ...