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

4
votes
2answers
47 views

How to edit an existing WordPress theme?

I've been hired to modify/update/change an existing WordPress theme. The site is already live, and I'm wondering how to work on the theme locally first.
0
votes
1answer
50 views

How to load css files in a specific order

I'm wondering if someone can help me with this. The theme I am working on has a custom theme options page where you can select various colors for the website. The problem is that the stylesheet it ...
0
votes
0answers
8 views

Load styles without them being merged as load-styles.php?

For development purposes, is there a way to avoid all the styles being merged by load-styles.php? I am trying to create an admin page that is in line with the common admin styles and load-styles.php ...
0
votes
0answers
19 views

Adding CSS styles to Admin Area PAGES only (not POSTS or CPT)

I am using this to load css styles in the admin area (for any user who is not an administrator): function wpse_admin_styles() { if ( !current_user_can( 'manage_options' ) ) { echo ...
-2
votes
1answer
17 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
0answers
19 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
30 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
2answers
30 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
45 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
63 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
0answers
48 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
3answers
124 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
45 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
177 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
1answer
39 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
1answer
69 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
5answers
115 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
2answers
84 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
21 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.
0
votes
0answers
54 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
2answers
124 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
71 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
0answers
71 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 ...
1
vote
1answer
88 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 ...
0
votes
1answer
410 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
80 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
192 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
108 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
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
53 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 ...
2
votes
1answer
103 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
2answers
86 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 ...
0
votes
1answer
78 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
60 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
378 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
186 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
101 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
733 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 ...
0
votes
2answers
136 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
61 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
78 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
96 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) ...
1
vote
2answers
277 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 ...
1
vote
3answers
162 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" ...
0
votes
1answer
53 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 ...
3
votes
1answer
116 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; ...
0
votes
1answer
73 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
2answers
284 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: ...
7
votes
4answers
360 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 ...