Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics (the look and formatting) of HTML output, usually via Themes. When you have to use this tag, then there's a high chance that your question is off topic on this SE network site.

learn more… | top users | synonyms

0
votes
2answers
438 views

Add class to navigation link of page

On my Wordpress site I have a three level navigation. In the second level of every main navigation item is a "toolkit" page. I would like to highlight this page in the navigation. Is there anyway ...
1
vote
2answers
4k 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
781 views

Best way of adding CSS which can be manipulated by the user via theme option panels?

I thought about adding it as inline CSS with code from the functions.php (not really sure how to do it). Something like this: function addcss() { background: $this_is_the_css_value; } I would ...
0
votes
1answer
365 views

Using theme options to change a border-radius value

I'm developing a theme where I'm using theme options to allow users to set various things -- text size, background colour, link colour, etc. The basic code I'm using for the options is in header.php ...
1
vote
1answer
337 views

How do I write into a file (css)

I'm writing my first wp plugin and I have many problems, most of those I got to solve by just reading the codex, but I don't know how to write into a css file within my plugin's options. Maybe there's ...
2
votes
1answer
1k views

Set Image width='x%' (percentage width not pixel width) when inserted via the media manager?

When uploading images via the media manager there are a couple of set sizes available such as thumb, medium and large. I do know how to add additional sizes, but I have yet to get it to insert an ...
-5
votes
1answer
752 views

How to create an automatic MultiColoumn MegaMenu with Categories WordPress

I'm looking for an easy to use step by step guide on how to create a MultiColoumn menu for categories on wordpress. Actually in my blog I have 10/12 "main" categories and a couple of them have ...
0
votes
2answers
174 views

WP Nanoplex 1.0.3 malfunction

I have installed the Nanoplex 1.0.3 theme for Wordpress and the orange content bars begin waaaay off the left side of the page, rendering them usless. They aren't starting at the left margin and ...
1
vote
3answers
1k views

Best approach for loading a sidebar Only if the screen max-width is >900px?

I have been playing around with media queries quite a bit lately and I love the concept. It is so easy to display images or change div floats depending upon what the users screen max-width is. I'm ...
0
votes
1answer
749 views

CSS not being applied

I am pretty new to web design, so this is a perplexing problem to me. I am creating a floating social media share button to the left of my content that scrolls with the blog content. Here is the code ...
1
vote
2answers
1k views

Custom CSS class or ID on menu items that have a Submenu

If I want to apply a style to only an item in a menu that has a submenu, how can I select that with CSS?
0
votes
1answer
377 views

Determining the “current_page” in WordPress Custom Menus

I am using WordPress Custom Menus. I have links like Home - Rendered using home.php Blog - Rendered using page-blog.php with WP_Query to get blog posts Services - Page Portfolio - Rendered using ...
1
vote
1answer
1k views

Dynamic sidebar nav with current page highlighting

My sidebar loops through all of the child pages based on the parent page. For example, if you're in the "About" section you'll only see "About" child pages in the sidebar. My problem is that I have ...
0
votes
1answer
599 views

Custom post type and body_class: Remove “blog” class

I am using body_class(); to style different sections of a wordpress site by their body class. Page styles descend from .page-template, blog styles descend from .single-post and/or .blog etc. I have ...
2
votes
1answer
391 views

I'm trying to add an image in my CSS

I'm trying to add an image in my CSS with the theme folder code, <?php bloginfo('template_directory'); ?>, which works in HTML but for some reason it's not working in the CSS. Does anyone know ...
1
vote
1answer
566 views

Can't call external stylesheet for Wordpress admin (using wp_admin_css)?

I tried the following: <?php function my_wp_admin_css() { echo '<link rel="stylesheet" href="/wp-content/plugins/custom-admin-style/wp-admin.css" type="text/css" />'; } ...
3
votes
4answers
486 views

Suggestions for creative use of post format feature, or themes that use them well

I'm looking for themes or examples of sites that use the post format feature in an interesting way. I suppose adding special styling for each post format would be a good start. But if anyone knows ...
0
votes
1answer
282 views

How to make widgetized footer styles be inherited from body?

I'm making a WordPress site using the Thesis framework. It has a widgetized footer area. I expect to be changing all the font styles frequently and don't want to have to change them in a few places ...
0
votes
1answer
379 views

New wp menu menu styling

Ok ,i am not a great fan of the menu of WP, but now it manage this inside pretty ok, i have to make theme that use that menu. Now for styling i am a bit challenge... here is the problem... the menu ...
0
votes
1answer
360 views

How to add drag and drop functionalities to a div inside option panel

Hi to all it's a few days that I'm trying to add some new functions to my theme option-panel, you can see my questions here: How to add an export function to a custom Option Theme Page Add a preview ...
3
votes
2answers
809 views

Modify CSS via Theme Control Panel

Hi to all I'm trying to create an advanced control panel for my first Wordpress template but I'm not able to add a function that I will need. The function that I'm trying to add is the possibility to ...
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
345 views

CSS - why does my sidebar drops to the bottom of the page?

I spent almost an hour searching why my sidebar here: http://www.r-bloggers.com/ Is dropping to the bottom of the page. Could you please advise on how to fix it? Thanks.
2
votes
3answers
202 views

Styling readme.html in plugin?

I am making readme.html file for a plugin with some detailed setup instruction that need to include screenshots. As rest of UI I want it be consistent with WordPress style and so I looked at its own ...
0
votes
1answer
836 views

Displaying custom post types as a gallery

This is a bit of a specific question--I have found bits and pieces of information on the net, but nothing that puts the whole picture together for me. Hopefully I can get some help here. Background: ...
2
votes
3answers
240 views

Wordpress Plugin Look & Feel

Is there a list of the ID's and Classes I can give HTML elements in the admin panel in order to closely mimic the wordpress look and feel?
2
votes
1answer
615 views

Highlighting the current page in a navigation menu which links are generated with a custom loop?

This is a second navigation menu I'm using: <ul id="forums"> <?php $custom_posts = new WP_Query(); ?> <?php $custom_posts->query('post_type=bbp_forum'); ?> ...
1
vote
1answer
426 views

Using if/else statements with output from theme options

In another question I was talking about using theme options to modify CSS. This is a separate but related question. When a user sets a link colour in my theme, here's how I'm including their choice: ...
0
votes
1answer
623 views

How put links in wordpress dynamic sidebar?

i would like put link after each widget in dynamic sidebar. I thinks is possible if i use static sidebar, but i don't found any tutorial for this. Thanks you
0
votes
4answers
265 views

Customizing wordpress to match your site theme

I have been wondering about how I could customize a Wordpress theme to look like that of my site, which is basically made of simple html and css. Alternatively, do you think there is a customizable ...
0
votes
2answers
673 views

How to edit background color of only one sidebar?

I'm using Oulipo theme on this site, which has two sidebars. I'd like to ask how can I change the background color of only the left sidebar? Also, how to change the text, hyperlink, hover and ...
1
vote
3answers
2k views

Best way to inject css into admin_head in plugins?

I'm looking for the best way to inject CSS into WordPress' Admin CP. Currently, I'm using the admin_head action hook and in this hook, I'm using dirname( __FILE__ ) to retrieve the directory for the ...
0
votes
1answer
952 views

How do I use add_action on custom widget?

First hope you will take a look example widget http://pastebin.com/2cL7BmgF There have male and female option. Let say I select male and I want add male.css to wp_head When I put something like this ...
0
votes
2answers
3k views

Having Trouble Styling a Table in a Wordpress Post

I am trying to style a table in a Wordpress post, but am having difficulty getting it to work. I have set the post to HTML-editing mode and can get some of the styles to take, but not all. (To be ...
0
votes
1answer
2k views

Help with a little CSS logo/header modification?

I've almost got this figured out, but I'm a total newbie to coding and this last bit is confusing me. I'm trying to get my logo "mascot" to be flush with the top line of my header, and sitting 'on' ...
0
votes
1answer
306 views

Wordpress menu: How to make www.link.com/#name never contain current_page_item class?

I am using the wordpress menus on a website, but the problem is that one of the links on that menu is www.homepage.com/#order So, when I am on the homepage, both "home" and "order" links on the menu ...
0
votes
2answers
3k views

Why is the CSS horizontal alignment for divs inside div container not displayed in my WP Theme?

WP 3.0.4 multisite network enabled, local installation with MAMP, PHP 5.3.2, WP THEME: Twentyten Child (Wordpress Theme) Having trouble with not displaying my CSS styling for horizontal alignment of ...
0
votes
1answer
882 views

Child pages don't become submenus (as in the twenty-ten theme)?

I'm using the theme Starkers which is based on twentyten. My twenty ten theme do place child pages below its parent page. But the new theme (based on Starkers) I'm developing doesn't (it just place ...
0
votes
1answer
775 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
1answer
1k views

Horizontal drop down category with hover effect working

It will be difficult to explain what I need in words, so please see a live demo of the horizontal navigation menu here, http://cn.wsj.com/gb/index.asp I want to replicate it for wordpress categories. ...
1
vote
1answer
178 views

How to get a value for admin css color either gray or blue

I want implement theme option which will have two css files. Example, if current admin set their profile to blue color I want load blue css for the theme options. if (current-value-css-admin) load ...
2
votes
1answer
187 views

Can I use theme options to change two things at once?

Possible noob question -- please be nice. I'm doing up a theme options page using the sample from Themeshaper, and one of the options I want to have is to set the width of the sidebar. To do this ...
0
votes
2answers
616 views

How to apply next/previous classes to LIs for pagination links?

I am using the WP-Paginate plug-in and need to apply a class to the containing LIs for the next/previous links. Can someone tell me how to do this? If there's a better/easier way to do this other than ...
0
votes
1answer
596 views

Why do I have stray bullet from <?php wp_list_categories>?

On this page, I have a stray bullet at the right of the side search jobs navigation? Why is this? It may that I am missing something simple. I just have been at for awhile. ...
1
vote
2answers
220 views

how to setup content on a static frontpage with css and xhtml

I'm currently working on a website that has a static frontpage and couple of pages that is going to contain portfolio and things alike on the other pages. The thing I want to do is to hardcode ...
1
vote
3answers
309 views

raw code vs wordpress

I am currently a CS student and an aspiring programmer/web developer. I am wondering whether it is worth taking the time to master html and css to make websites when CMS services/wysiwyg like ...
1
vote
2answers
3k views

How to edit my theme for full width?

I am using Manifest 1.01 by Jim Barraud on my site www.inteftrust.org. I'd like to know how can I get full width with this theme. Thanks.
0
votes
1answer
345 views

How do I work with the SlideDeck plug-in?

I added the SlideDeck plug-in to my site. I added it into the main index template. I am using the Arthemia theme. I really like the look of it but the only problem is that now I can't see all the ...
2
votes
3answers
538 views

wp_enqueue_script + how to load JS or CSS in one URL merge call?

Is there any proper wordpress way of including the JS and CSS through one merged URL? So that instead of loading in x number of separate calls for each JS asset, it can be all merged into one URL? ...
5
votes
2answers
3k views

How to customize the default HTML for Wordpress Attachments

I'm using Wordpress 3.0.1 (most recent as of now) and working around the Whiteboard theme. It seems that for attachments (images, specifically), Wordpress generates the HTML automatically and it ...