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

1
vote
1answer
565 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 ...
-2
votes
1answer
15 views

use another theme for just one page

I am a wordpress newbie. Been looking the whole day for a solution. http://codex.wordpress.org/Theme_Development and http://codex.wordpress.org/Template_Hierarchy#Visual_Overview did not give me what ...
0
votes
1answer
27 views

Unresponsive Stylesheet [closed]

First off I would like to say I know nothing about wordpress and coding. I am currently trying to get rid of the borders around my side bar on my page but I have had no luck. My stylesheet is ...
0
votes
0answers
14 views

subcategories inside div tag

I'm trying to style subcategories separately. I tried to put them into divs, but it doesn't work. Any ideas? <?php // get the term id $category = get_queried_object(); // Get categories ...
0
votes
1answer
17 views

How to use custom stylesheet only for a template in child theme

I am using Themco's X theme. To modify the theme styles I used the Ethos child theme provided by Themeco. I have designed a custom template in the child theme. Now I want a stylesheet custom-style.css ...
0
votes
0answers
41 views

Lessphp auto-compiling issue in WordPress

I'm using Lessphp to auto compile my style. After reading the document ( http://leafo.net/lessphp/docs/#compiling_automatically ) and some research, I got this code: function autoCompileLess() { // ...
0
votes
2answers
26 views

Moving an image to the side [closed]

How do I move this image on my WordPress site to the left side? I don't know which file to look for and which code to edit.
0
votes
0answers
29 views

editor style css and page template with and without sidebar

I have two page templates in my custom theme. Full width template and Default template. Full width template does not have side bar and is of width 980px. While default template is having sidebar on ...
0
votes
1answer
52 views

How To Add Perfect Apostrophe And Quotation Mark In WordPress Posts?

I have a blog at www.exeideas.com where I am sharing codes snippet too. I am new to WordPress and migrated from Blogger. So now my all codes shared in posts stop working. When I check my codes then ...
0
votes
1answer
33 views

Combine CSS files from all plugins into main stylesheet manually or use a caching plugin? [on hold]

I like to keep my code organized and be careful of any automated jobs from plugins and software. Is it a good practice to open the plugins and find all the calls of their css file and replace it with ...
0
votes
3answers
72 views

How to activate the child theme in Wordpress?

I create a new style.css and use it in child theme. And I create a new folder in wp-content and name it as themename-child and upload the style.css that I created. Now, I go to wp dashboard -> ...
0
votes
1answer
36 views

Order of stylesheets in child theme

Parent theme has following code for including styles. function blue_planet_scripts() { wp_enqueue_style( 'blue-planet-style', get_stylesheet_uri() ); wp_enqueue_style( ...
3
votes
1answer
120 views

Enqueue Stylesheets After Theme's “rtl.css”

I am currently developing a theme with internationalization support, and would like to load stylesheets after my theme's rtl.css (an alternative style.css loaded for languages with a right-to-left ...
0
votes
0answers
52 views

Theme Loading Into Dashboard

I'm having this really weird, never seen before, issue ... whenever I visit the Dashboard, after about 3-5 seconds, my theme loads into the Dashboard layout. It's like the theme's stylesheet is being ...
0
votes
5answers
107 views

Attributing a version number to a child theme's main stylesheet

In header.php, I like to attribute a version number to the stylesheet so that the browser gets forced to refresh it. But when working with a child theme, its stylesheet is not explicitely called, ...
0
votes
1answer
58 views

How to dequeue a stylesheet by src, not handle?

I'm trying to develop a Wordpress plugin that will dequeue/deregister Font Awesome stylesheets added to a theme by certain plugins that users may install, if the theme already make use of Font ...
0
votes
1answer
31 views

Check and dequeue if multiple stylesheets exists using wp_style_is?

I need to dequeue styes for 3 plugins that load the same font stylesheet so i come up with the following function that of course not working: add_action('wp_enqueue_scripts', 'dequeue_by_handles', ...
0
votes
2answers
62 views

Override custom menu widget

I would like to override some mark-up and css (like <div class="soma_container"><ul class=""></ul></div>)styling on a chosen custom menu widget. How would I do that? Should be ...
0
votes
1answer
15 views

Loading shortcode stylesheet only when shortcode is in text widget [closed]

I would like to load shortcode stylesheet only when it will be put in text widget. Please help somebody.
5
votes
8answers
7k views

How can I version the main CSS file?

How can I instruct wordpress to use a filename other than 'styles.css' for my main stylesheet - for example, styles-1.css? I'd like to do this for versioning and caching purposes.
3
votes
2answers
771 views

How to add stylesheets only to pages with specific shortcode?

I'm running a function on pages where the shortcode [make-me-a-map] is used. It enqueues javascript to the page and makes a map. That part works fine (woot!) but I'm having trouble with adding the ...
0
votes
2answers
251 views

Understanding the theme details in style.css

I'm developing a theme for a friend, and I'm not sure what to put for the author, author uri, etc. Here is the Twenty Ten code: /* Theme Name: Twenty Ten Theme URI: http://wordpress.org/ Description: ...
0
votes
2answers
99 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
1answer
65 views

Use stylesheet from a different location

I haven't done wordpress development in quite some time so it looks like some things have changed (naturally). I'm using codekit to compile my themes sass files and minify my scripts as well. It ...
1
vote
1answer
81 views

Dynamic Stylesheet loads but doesn't finish

I am creating a website for an architect with large images being a main feature of the site. Given the potential size of the images I wanted to have a way to create responsive image sizing (and of ...
1
vote
0answers
65 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
2answers
98 views

How to make CSS load live based on options clicked in the theme customizer?

I have a problem. I am trying get the theme customizer load a different CSS file based on what radio input in clicked, live! It works so far right now that option is saved when I click "Save & ...
0
votes
1answer
308 views

CSS changes not taking effect

I make changes to my style.css file but they do not take effect on the website. Style.css is located here: /wp-content/themes/academy/style.css I have made changes to it previously and the changes ...
0
votes
0answers
68 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
1answer
133 views

Move my theme style.css into a folder

I was wondering if its possible to have my theme style.css in a css folder rather than in the root? I assume that the Theme Metadata has to be in the theme root, but could the actual styles be moved? ...
0
votes
2answers
124 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, ...
2
votes
1answer
98 views

Theme information in style.css being corrupted

I am customising someone else's theme to allow the website owner to edit more regions than she could previously. I copied the theme into a new folder, with a different folder name to the original. I ...
0
votes
0answers
27 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
1answer
44 views

Help with changing style of the extended menu drop down [closed]

I am trying to change the style of the extended menu drop down from being on the right side to the left side. As you can see by the picture provided, the menu item named "Catholic Women's league of ...
0
votes
2answers
83 views

Orion theme (from theme forest) [closed]

I was given a theme called Orion available from themeforest. I had experienced troubles installing it via GUI (style.css was missing), therefore I did that operation manually by copying Update ...
1
vote
2answers
239 views

Avoid to load default WP styles in login screen

Is there some way to avoid the load of default WordPress styles in login screen to only load my custom stylesheets? Actually I'm using this code: function login_styles() { // Sets the styles if ...
0
votes
1answer
71 views

How to use plugins_url() inside PHP stylesheet file [duplicate]

I created a plugin and use php file as stylesheet file PHP style sheet file: <?php header('Content-type: text/css; charset: UTF-8'); $x_position = 0; $y_position = -40px; ?> ...
0
votes
2answers
56 views

How can i limit wordpress post title characters in sidebar?

in wordpress template sidebar and recent posts or recent comments blocks: when title has more than 30 characters new line created and its not good display you can see this image for understand what ...
0
votes
1answer
342 views

Is it possible to add the_post_thumbnail to style.css?

I'm wondering if it's possible to add the_post_thumbnail location to style.css. I'm using these images as backgrounds, and I can easily do that on the template, of course, but I'm thinking that for ...
0
votes
2answers
165 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
1answer
98 views

Can't change theme name

I am developing a theme and it currently has no theme information. Right now it is pulling it's name from the theme folders name and the "Author"is anonymous. I tried changing it by adding code into ...
0
votes
2answers
626 views

How can I make new .css file in child theme override styles in child theme's style.css

I want to make a separate responsive.css file in my child theme but having trouble making the media queries override the styles in the child theme's default style.css. I've tried putting <link ...
2
votes
1answer
59 views

Overwrite CSS with without deleting it

I have some css in the theme that I am using, I want to keep the stock style.css without deleting any of it. I want to use my child-theme style.css to remove or hide some values of a class. I would ...
0
votes
4answers
75 views

enqueue_style is not working

I try to load the main stylesheet with enqueue_style - but it isn't working. Here is my code from functions.php: function my_scripts() { wp_enqueue_style( 'main-style', ...
0
votes
1answer
91 views

How to make changes to style.php [closed]

I am working from a Wordpress theme called Dynamix. The site is located here... If you scroll down to the post with a comment, you'll see a comment bubble, with a solid black background. If you ...
2
votes
1answer
34 views

WordPress – site with 2 stylesheets and more…

I’m building a site that is broken up into two views (or sections): College and Corporate. » See it here When the College tab is active, the site will use college-styles.css (orange background) ...
0
votes
1answer
51 views

How do I block a subdirectory from WordPress theming?

I have a WordPress site. It works great. But I have a subdirectory on my server where I work on client websites. It's a development space and most of those sites are NOT WordPress. Sometimes (but not ...
1
vote
3answers
153 views

To enqueue or not to enqueue

What is the best way to link to a CSS file in WordPress? Method 1: Use the following whenever needed <link href="<?php echo get_template_directory_uri(); ?>/my-style.css" rel="stylesheet" ...
7
votes
4answers
256 views

Do I actually need to link my theme's style.css in the theme files

So I am developing a wordpress theme using a series of LESS files for the CSS. These compile using codekit to a combined and minifed stylesheet that I use for the theme's styling. I understand a ...
3
votes
1answer
107 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; ...