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
2answers
35 views

Remove id attribute from stylesheet link

Right now I'm serving up my own custom stylesheet. // register main stylesheet wp_register_style( 'custom-stylesheet', get_stylesheet_directory_uri() . '/library/css/main.css', array(), '', 'all' ); ...
0
votes
2answers
112 views

Relative path in wp_register_style not working

I have this function: function test_add_my_stylesheet() { wp_register_style( 'test-admin-style', plugins_url('../css/style.css', __FILE__) ); wp_enqueue_style( 'test-admin-style' ); } but ...
0
votes
2answers
96 views

Stylesheet being loaded outside of <head>

Wordpress (3.6) is loading two stylesheets (mediaelement-css, .../wp-includes/js/mediaelement/mediaelementplayer.min.css?ver=2.13.0 and wp-mediaelement-css, ...
3
votes
1answer
64 views

How to modify/extend/override a core method?

This is my first post. In advance, thank you for welcoming me... Context When you enqueue style, you can output your css link into conditional comments. global $wp_styles; ...
1
vote
1answer
159 views

using advanced custom field to control css hover color

this is a bit challenging for me: I am using the great Advanced Custom Field plugin on my site to create different color scheme to each of my taxonomy. I created a field called taxonomy_color and ...
1
vote
1answer
423 views

Using PHP to toggle stylesheet and header image, set in cookie

I haven't done a lot of work with cookies or Wordpress before so I think I've been a bit over-optimistic in my quest :p I have created two themes for my site, night and day. I would like the user to ...
0
votes
1answer
65 views

Stylesheet overriding in Child theme

So here's my problem : I have two stylesheets in my child theme : style.css and style-premium.css (Which contains only modified CSS). My posts use one of these stylesheets depending on their category. ...
0
votes
1answer
45 views

Load stylesheet in edit category page?

I have a plugin that I want to add a stylesheet to each "edit category" page because I added additional custom fields into those pages. Is there a simple way of doing this or do I have to use the URL ...
0
votes
1answer
157 views

Multiple search template with separate stylesheets

I'm building a site which needs to have two search bars and two search results templates. One of the search bars is for regular posts, and the other is for a custom post type. I need the two search ...
0
votes
1answer
74 views

Creating a custom header

I am using the greyzed theme and want to create a custom header using my own image. my computer skills are limited and i have no idea where to start or how to even open the php files if that's what I ...
0
votes
1answer
108 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
116 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. ...
-1
votes
1answer
174 views

My CSS, footer and header don't show up!

When I activate my theme in my-admin on WordPress, my CSS, header and the footer don’t show up. I really don't know what the problem is because I followed all the steps of a tutorial. header.php ...
1
vote
0answers
47 views

How do I view registered syles and scripts for enqueue

I know that wp_register_style(), wp_deregister_style() and wp_enqueue_style() are used for css style registration and enqueue management. However, I am interested in viewing ALL registered styles ...
0
votes
0answers
30 views

get_template_directory_uri() gives me wrong path when I try to use wp_enqueue_style

In my functions.php I use wp_enqueue_style and wp_enqueue_script as I read this is the correct way to add stylesheets and scripts to pages. But as my host has this sub folder where the install goes ...
0
votes
0answers
24 views

How to disable the main wordpress stylesheet and enable another one

I'm trying to disable the main stylesheet of my site using a plugin to replace style.css with style_pink.css or style_blue.css So if an user clicks on pink button the style_pink.css should be ...
0
votes
0answers
20 views

Mulitsite: Style Sheet LInking

I'm currently experiencing a problem as it relates to style sheets in a micros site. About my setup. It's in a build server until its ready to launch. I have a subsite installation-- ie ...
0
votes
0answers
38 views

Changing Style of Inputs in Admin

I think that I am missing something... I am trying to customize the look and feel of the admin section of my site. A lot of my style are working as expected, but when I try to change the height of ...