Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics (the look and formatting) of Wordpress, usually via Themes

learn more… | top users | synonyms

0
votes
2answers
497 views

hfeed CSS class in Twentyeleven Theme

The twentyeleven theme has hfeed class attached with the main container #page. I could not find any definition of hfeed in style.css. Does it have any purpose or its just a random class name given?
3
votes
2answers
145 views

Changing title to lowercase [closed]

Lets say i have 100 posts. And i would like to lowercase the title. but only 70 of it. I cant use text-transform or mb_strtolower. Is there anyway to download posts and lowercase the title with ...
1
vote
1answer
122 views

Adding another “Add Post” button to admin

I would like another "Add post" button in the admin except I am going to call it "Add voucher". It will run specific plugins that add post will not. However that is irrelivant, all I need to know it ...
0
votes
2answers
158 views

CSS Customizations for certain page

I've been using Wordpress for a while, and came to a point where I need to make css customizations, but only for a certain page. I know that one way to do this is to use conditional tags: if ( ...
0
votes
1answer
74 views

Date based CSS/theme

Is it possible to set a CSS stylesheet or a theme for articles that were published before X date? The reason I ask is that we've just redesigned our website and some pages have images that are wider ...
0
votes
1answer
205 views

CSS not being applied using wp_enqueue_style

I am trying to load my style sheets in my plugin but they are not being called, the javascript files however, are being loaded. <?php /** Plugin Name: Plugin URI: Description: Version: Author: ...
1
vote
1answer
294 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
3answers
142 views

Is it possible to enqueue a raw CSS string directly from within a template file?

I was wondering if it's possible to enqueue raw CSS as a string directly from within a template file? I'm writing a custom template for a page and need to add some style rules for it. What I want to ...
0
votes
2answers
287 views

JetPack comment threads are displaying above comment box?

As you can see in the attached image (http://i.imgur.com/V7642.png) my JetPack comments are rendering above the Discuss box. How do I go about moving them down? When I look in Chrome Inspector there ...
0
votes
0answers
41 views

WordPress is adding closing and opening tags to my option tags in a select list [closed]

I'm trying to include a ticket order form on a WordPress page. It includes two select lists. I had it all looking and working fine, but at some point WordPress started adding opening and closing ...
0
votes
1answer
177 views

Add classes + taxonomy terms to wp_list_pages() output

I'm outputting a list of pages in my custom post type — a kind of tree — using wp_list_pages(). All's going well, except now I want to put some classes in the li's for styling. Even that's not going ...
0
votes
2answers
209 views

Styling an “active” link outside of Wordpress default menu

I want the background-color of the selected box on this page to display gray color once the user lands on the corresponding page. My link is currently setup inside of the page template itself as a ...
2
votes
2answers
490 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 ...
-1
votes
1answer
76 views

how to include other jquery file and css file in wordpress plugins

I have jquery file like as follows "portfolio.css" "jquery-ui-1.8.18.custom.css" "portfolio.js" I want to include these files into my plugin... if anyone have solution for how to include above ...
4
votes
1answer
410 views

Automatically decrease font size for long words

I am working on an e-commerce site in which post and product titles will need to be displayed in fairly narrow divs. I would like to set a specific font size for words which can naturally fit in the ...
0
votes
1answer
75 views

Custom image size vs CSS sizing

I am developing a theme which will have 2 configuration options for the slideshow in the header; a full width version and a half width version. The theme is also responsive and so I am trying to ...
7
votes
1answer
656 views

How can I use WordPress functions in my stylesheet?

I have my style.php file looking like this. <?php header('Content-Type: text/css');?> #div{ background:<?php echo get_option('bgcolor');?>; } This does not work, but when I do ...
2
votes
2answers
316 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
2answers
215 views

styles/default.css in markup, where does it come from? [closed]

I have the following line under the head tag but I don't have the file styles/default.css in my theme and consequently get a loading error in browsers. I'd like to eliminate this line but I don't know ...
0
votes
1answer
355 views

remove everything from wp_nav_menu

My theme has three 3 menus: two that are dropdown menus and one that is different. I want to remove the div, class, etc. from the menu that is different. For Example: I have three menus topnav ( ...
1
vote
1answer
642 views

How do I make header.php use different css for different pages?

I register styles in function.php with function my_scripts() { wp_deregister_style( 'header' ); wp_register_style( 'header', get_template_directory_uri() . '/css/header.css' ); ...
2
votes
2answers
188 views

Sanitize User Entered CSS

Does anyone have any idea how to sanitize CSS entered via user input? I am concerned about cross-site scripting via CSS. I am using wp_filter_kses to clean up user entered HTML, but I need a like ...
0
votes
1answer
126 views

Load jQuery only on home page

I am working in a premium wordpress theme... It is a complex wordpress theme with lots of admin features so i feel very difficult to edit... Now i need to move a sidebar upwards only in homepage... i ...
0
votes
1answer
53 views

Wordpress Plugin Authoring question about jquery and css

When I'm writing a plugin, do I assume that jquery is included, or should I always wp_enqueue_script it and let wordpress figure it out? Also, what's the best practice for getting an image path ...
1
vote
1answer
70 views

IE and WordPress

I'm developing a WordPress based website. Using latest version of WordPress and Genesis theme. I've to use a seperate stylesheet for IE, how can I add that? Sorry for this silly question, I'm new in ...
1
vote
2answers
449 views

How to apply wordpress css styles to a jQueryUi dialog?

Im devloping a wordpress plugin, and I succeded in showing a modal dialog using jQuery. Problem is that I also show a list and buttons into that dialog, and i would like that those buttons and list ...
-1
votes
1answer
178 views

Site layout problems when logged in due to admin bar

Is there a way to when logged in have the banner on my page move down so many specified pixels? This is what it looks like when I'm logged in (as of course the dashboard bar at the top is there and ...
0
votes
2answers
85 views

Archive pages have smaller font then the rest of my website [closed]

I have my awesome wordpress website here that I have been working on for weeks now and all is great with it except for one thing! For some reason when you try to look at the archives pages the whole ...
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 ...
7
votes
3answers
403 views

CSS classes for theme

Does anybody know predefined (suggested by WP) CSS classes which should I use in my theme? I have seen somewhere in Internet a list of all CSS classes, which are used in WP theme, but can't find it. ...
0
votes
1answer
76 views

Search Bar in Thesis Wordpress Site

A friend of mine installed all the Thesis documentation for my new website. I am fairly proficient in HTML and CSS, but I need help with one issue. She tried adding a search bar in my main menu ...
0
votes
1answer
491 views

Center image (aligncenter) [closed]

If the user wants to center an image in the editor the image gets the class aligncenter. Now I looked up the CSS for this class and put it in my theme. But there is a link on the image (default) and ...
0
votes
1answer
63 views

I get “Cannot modify header information - headers already sent” when I change my theme

I get this error when I change theme in my wordpress. *Cannot modify header information - headers already sent by (output started at ...
2
votes
2answers
338 views

wp_tag_cloud inline CSS

I am using wp_tag_cloud but my problem is the inline CSS (for the font-size). I am doing RWD so I need full control of my markup/css. As I saw there is no property that will make it go away, so I ...
0
votes
2answers
2k views

How to know which order Wordpress places CSS files?

I've installed the Roots theme (version 4 so I can use the 1140px Grid) on Wordpress 3.3.1, and want to edit the CSS. Initially I only get the style.css file in the editor and can't see the others. ...
0
votes
1answer
116 views

nav sub menu display problem [closed]

I have used WP nav menu in my website. It works fine. I have added the sub link under the home link. But it is not properly displayed. Please refer the screenshot. In the above image, "support our ...
1
vote
2answers
1k views

How to include own css on wordpress tinymce editor?

I have added some text on tinymce editor on load. (Every time you click on Add new the tinymce editor load with this text.) but problem is how to enable css class which are using in default text. ...
0
votes
1answer
110 views

MultiPostThumbnails and media queries

I am using the plugin "MultiPostThumbnails" and it's setting my width to 700px. Is there a way to get it to not set the width and height at all? I want it to resize when I use media queries and ...
-1
votes
1answer
983 views

how to include javascript file and css file in wordpress

I am creating new plugin so i need add a java script file and css file. These are my javascript files jquery.min.js jquery-1.3.2.min.js jquery.tabify.js Css file: newstyle.css
1
vote
1answer
53 views

Big side banners

I would like to have a big header side advertisements like this: What is the best way to achieve that?
2
votes
1answer
323 views

How to load different css file depending on language

I am running a multilingual wordpress site - English and Japanese. I am using transposh plugin to make the English text translated to Japanese. And when the user choose Japanese, there will be a words ...
0
votes
2answers
71 views

How to manipulate attributes of url-less dropdown item in a the custom wordpress menu?

I need to change the color of some custom link elements in dropdown of my wordpress custom menu here. There 3 items in my dropdown that dont have any url associated with them: Air Duct Chimney Dryer ...
1
vote
2answers
180 views

whats happening with my index page?

I'm working on my first wordpress blog site and I think I'm doing pretty good. This is my site so far but I need some help with a couple things as I'm not sure why this is happening. I've styled my ...
2
votes
1answer
46 views

How should I best target dynamically served content?

I am editing the 'Bizz' portfolio Wordpress theme(http://www.wpexplorer.com/bizz-wordpress-theme). It includes custom post types for managing portfolio examples, the highlights on the homepage, etc. ...
2
votes
1answer
57 views

What is the best way to provide plugin users with a way to customized the styles

I'm working on a plugin to be release to the public, it is a very simple plugin that includes a single html element in the page html. I can do many things to allow users customize its appearance: 1. ...
0
votes
1answer
173 views

Using browser detection and the body_class() function to modify css

I'm using the following function, as described here: http://www.nathanrice.net/blog/browser-detection-and-the-body_class-function/ Now when I use the following css styles, it does exactly what I ...
2
votes
1answer
67 views

why does twenty eleven theme mix up the css measurement units?

I'm wondering why does WordPress's default theme mix up the css measurement units? For example: .one-column.singular #author-info { margin: 2.2em -8.8% 0; padding: 20px 8.8%;} Wouldn't be easier ...
1
vote
1answer
73 views

How to change header dimensions in Wordpress?

How can I alter the requirements for the header dimensions so that I can take an uncropped image and fill the top section (centring the whole image) instead of having white space at the top? I would ...
2
votes
2answers
521 views

customizing recent posts

Im working on my first wordpress blog and trying to avoid plugins if at all possible for a lot of what doesn't really need to have a plugin. I am slightly familiar with php ( I don't understand it but ...
0
votes
1answer
233 views

100% Width Footer - Custom Child Theme

I am working on a custom child theme for Wordpress and I can not seem to get a footer width of 100% to be represented. Live Example Page : http://glustik.com/wordpress/ I have tried multiple things, ...

1 4 5 6 7 8 12