The stylesheet tag has no wiki summary.
0
votes
3answers
2k 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
3answers
84 views
how to add version of style.css in wordpress
How to add version of style.css in WordPress like below i can do in Joomla.
<link rel="stylesheet" href="/templates/example/css/style.css?v=1.2">
i know that the style.css will load ...
-1
votes
1answer
21 views
Child Theme CSS Not Overriding Parent Theme In MultiSite Site
I've been banging my head on the wall for a while now trying to figure this out. I have a multisite setup currently with just the main site and a network site I added. The main site displays just ...
0
votes
1answer
27 views
header, stylesheet not being read
I'm working on a theme that doesn't seem to be reading the header and/or stylesheet. All of the code seems to check out correctly, so I'm a little confused as to why this is happening. Perhaps I've ...
0
votes
1answer
27 views
Overwrite CSS of Instaemail plugin popup
I am using instaemail plugin on my wordpress for sending a post by email and I am trying to customize popup window, but seems that I can not overwrite Id or I don't know how to do it. Same popup you ...
1
vote
1answer
63 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 ...
0
votes
0answers
22 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 ...
1
vote
1answer
23 views
Add a custom stylesheet for BlackBerry
I want a little help loading a custom stylesheet in wordpress. I'm using PHP to check if the user agent is BlackBerry. If yes, I want to load blackberry.css, if no, regular wordpress style.css.
...
3
votes
4answers
1k views
Enqueue Google Web Fonts Without Messing Up Symbols In URL
Enqueuing Google Web Fonts the usual way, i.e., using the wp_enqueue_style function like so...
function wpse_google_webfonts() {
wp_enqueue_style( 'google-webfonts', ...
3
votes
3answers
155 views
How can I reduce the amount of files loaded/included per plugin?
I have a Wordpress site that uses several plugins, namely 8. Most of these plugins include a lot of their own JS and CSS files, some even include so much as 3 separate CSS files. One can imagine that ...
1
vote
1answer
45 views
Add CSS to head depending on nav menu walker
I have a custom walker for a navigation menu on my website, and within it I have some custom CSS that I want to apply to each menu, however, I cannot simply echo it there because even though it works ...
0
votes
3answers
54 views
Code working just in specific time period
I have this code in my style.css
iframe[src*="http://www.youtube.com/"]
{width:480px !important; height:305px !important;padding-top: 20px;display:none}
as you can see, it makes youtube videos not ...
4
votes
1answer
223 views
How to enqueue style before style.css
How do I enqueue a .css file before style.css is loaded? Or make the default style.css dependant on another .css file?
I'm trying to load a .css reset, which style.css would overwrite.
Here's what I ...
0
votes
0answers
11 views
get_stylesheet_uri() seems to be returning the wrong path. Where is this coming from? [duplicate]
I've got Wordpress 3.5.1 setup like Mark Jaquith's Wordpress Skeleton repository. (https://github.com/markjaquith/WordPress-Skeleton). I'm using Roots as the theme, but the stylesheet directory is ...
0
votes
0answers
25 views
Conditional stylesheet based on if there is a featured image returning error [unexpected end of file] [closed]
I am trying to set a custom stylesheet based on if there is a featured image or not but i get this error:
Parse error: syntax error, unexpected end of file in ...
2
votes
2answers
609 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 ...
0
votes
1answer
215 views
get_stylesheet_uri returns wrong path
I am using the roots theme. Inside scripts.php, the stylesheets are loaded using the wp_enqueue_style-function.
wp_enqueue_style('roots_bootstrap', get_template_directory_uri() . ...
0
votes
2answers
75 views
Hook 'wp_enqueue_scripts' priority has no effect
In a theme I am working there are up to 3 Stylesheets. I am using the hook 'wp_enqueue_scripts'. The order of the stylesheets is important for overwriting styles.
I have a code like this:
...
0
votes
0answers
69 views
Starkers Theme and Conditional Comments for IE
I apologise if this is a double up, I am in way over my head and understanding which is probably why I can't find/understand the answer to this. I apologise if I'm doubling up on an existing question ...
1
vote
1answer
127 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', ...
1
vote
0answers
205 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 ...
-1
votes
1answer
124 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
...
0
votes
1answer
41 views
Is there any way to stylize articles one by one?
I'm new in wordpress thing and im trying to edit my posts. my problem is:
I'm editing posts in index.php
---------index.php----------
<?php get_header();?>
<div ...
1
vote
4answers
89 views
Different backgroundg-image by category
I am trying to put different body background-image for each category.
body {
background-color: #000;
background-image: url(img/bg.png);
background-repeat: no-repeat;
background-position: center ...
-1
votes
1answer
281 views
How would I use a media query to make my entire theme responsive or fluid? [closed]
I've settled on a theme for one of my blogs. Is it possible to just wrap your stylesheet (style.css on most themes) in @media queries, and make your entire theme responsive, or fluid, so it works ...
1
vote
2answers
95 views
Hiding styles from Facebook
Some of my pages/posts have very short custom stylesheets at the beginning of them. I know this isn't great practice, but it's worked very well thus far. The problem, however, is linking on Facebook: ...
1
vote
2answers
117 views
Child Theme vs. Jetpack Editor
I have read that it is always desirable to create a "child theme" so that any changes I make don't get washed away if the main theme is updated.
However, one of Jetpack's features is a CSS editor ...
4
votes
1answer
85 views
How to work with custom styles saved in theme option?
I am creating a theme where user can save custom styles from theme customizer through settings API. Those style info are saved in options table as serialized data.
When Custom skin is active I will ...
0
votes
0answers
28 views
Theme-Tigopedia Reloaded - How to align images? [closed]
I have recently installed the theme Tigopedia Reloaded, Before that all of the images in my site was proper . I mean three images in a row, But Now it's aligned one image for one row.
...
0
votes
0answers
32 views
Performance and styles problem after changing permalink structure [duplicate]
Possible Duplicate:
Performance and styles not working fine after changing permalink structure
Fist I was using default option of permalink and everything was fine (speed is ok, my own ...
0
votes
0answers
7 views
is_single query calling the wrong stylesheets? [duplicate]
Possible Duplicate:
is_singular won’t call my functions?
So I am trying to call different style sheets for each of my post types single page.
Here is the code I am using in my header ...
1
vote
1answer
174 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 ...
0
votes
2answers
322 views
CSS Twentyeleven / Sidebar has to be changed IN the CSS Stylesheet. Sidebar on the left side
I have to change my wordpress look. The sidebar should be placed on the left side. I was already looking for solutions, but the piece of codes I found didn't fit into mine. I dont know where I have to ...
4
votes
1answer
143 views
Is it possible to bold certain words in a post title?
I guess I would like to be able to include HTML tags within the title so that when the title is listed certain words are bolded.
Is this possible? When I try to put HTML into the title, the tag ...
0
votes
1answer
48 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
2answers
248 views
different way to achive stylesheet_url
I'd like to understand the difference between:
<?php bloginfo( 'stylesheet_url' ); ?>
and
<?php bloginfo('template_url'); ?>/style.css
because I think the second one is more flexible ...
0
votes
1answer
355 views
bloginfo('stylesheet_directory') vs. get_stylesheet_directory_uri() and include('file.php') vs. get_template_part()
In my custom theme I'm using <img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo.jpg"/> to load my custom logo.
I'm using a custom sidebar for front-page.php and that's why I ...
5
votes
7answers
4k 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.
0
votes
2answers
697 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:
...
-2
votes
1answer
48 views
Complete Custom Style Part of Site
I have a wordpress site, and I need to apply custom styles to one page, I see the custom styles option, and some of them work, but others get overwritten. Is there a way I can apply strictly my own ...
0
votes
2answers
1k views
How to add CSS style sheet dynamically in wordpress
When certain conditions are met (e.g. post vs. page or a category is tagged, etc) I would like to load an additional CSS file. This file would, in theory, change link colors. Or perhaps change the ...
1
vote
2answers
68 views
Do I have to use a Wordpress specific CSS reset, or is a normal, Eric Meyer style CSS reset fine?
The great starter theme _S for Wordpress has the following CSS reset included, which works pretty well I find: https://gist.github.com/4173728
But I prefer the Eric Meyer one, which I'm sure you're ...
0
votes
0answers
16 views
How to I include theme options into my custom stylesheet? [duplicate]
Possible Duplicate:
How can I use WordPress functions in my stylesheet?
I'm brand new to using the options framework, and I can't quite figure out how to get the selected options to output ...
1
vote
1answer
219 views
W3 Total cache “empty all caches” and no stylesheets render
I have the w3 Total cache plugin installed and so far its been great as I'm sure you will all agree, so thanks to the author for an amazing plugin. However, I used the "empty all caches" button on the ...
0
votes
0answers
31 views
Fix wrong CSS order [closed]
I’m using these codes snippet to make post 1st letter larger (you probably know it’s know as drop cap if you are familiar with thesis theme framework!) in my genesis child theme. The problem I’m ...
0
votes
1answer
38 views
Font shows up as Arial instead of Times [closed]
I am the webmaster of Palo Alto High School's online publication, The Paly Voice. We're using Wordpress, and for some reason occasionally chunks of stories change fonts. Here is an example.
I ...
0
votes
0answers
154 views
italics / bold not working in posts/pages [closed]
so as the thread header says the bold, italics arent working in my posts.
The thing is that, YES i have them being reset in a CSSRESET file but i manually removed the "Strong" and the "em" tags from ...
0
votes
1answer
87 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
111 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
255 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 ...

