Tagged Questions
1
vote
1answer
19 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.
...
4
votes
1answer
117 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 ...
1
vote
0answers
173 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
117 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
40 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
votes
1answer
230 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 ...
0
votes
0answers
23 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
2answers
291 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 ...
1
vote
2answers
62 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
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
143 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
81 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.
1
vote
1answer
122 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
98 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
vote
1answer
291 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 ...
2
votes
2answers
485 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
311 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
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 ...
-1
votes
2answers
75 views
My blockquotes have uneven spacing around the text, but my code looks good [closed]
I'm in the process of moving my blog over to wordpress, and I'm currently messing around with the css a bit.
I added the following blockquotes code:
blockquote {
margin: 1em 20px
padding: ...
0
votes
1answer
89 views
Wordpress background image not changing [closed]
I have installed a complete blank theme with no CSS in my new wordpress blog. I have been trying to give it a background image but no success.
I am working on blog's content. Blog is very new. So, ...
0
votes
1answer
227 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
82 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
248 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 ...
0
votes
2answers
86 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
598 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
104 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 ...
1
vote
1answer
398 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
382 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/
1
vote
2answers
3k 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?
0
votes
2answers
1k views
How do you modify CSS files via admin panel?
All theme styles are in style.css file.
Let's say first line looks like:
body {
background-color: #fff;
}
Now, I've created an option in admin panel named body_bg. User types #000 there and I ...
0
votes
1answer
534 views
Looking for methods to Check if File Exist
I'm working on a custom theme framework for educational purposes.
I basically have a header.php in a child theme that i want to make smarter. I'd like to only include a stylesheet if the file ...
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 ...