Tagged Questions

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
1answer
858 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: ...
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 ...
2
votes
3answers
246 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
626 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
447 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
2k views

Using theme options to change link colours

I'm developing a WordPress theme with some theme options (using the ThemeShaper sample theme options page), and one of the options I want is to allow users to set their own link colours. At the ...
0
votes
1answer
647 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
289 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
693 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 ...
1
vote
2answers
817 views

How do I add (css) class to a custom link to make it current_page_item

As a custom menu item wp doesn't add the class current_page_item All other links it does? <ul class="nav" id="menu-mainmenu"><li class="menu-item menu-item-type-custom menu-item-home ...
0
votes
1answer
1k 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
4k 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
3k 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
307 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
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 ...
0
votes
1answer
910 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
2answers
416 views

Change CSS on a wordpress post

I want to change the Right-Hand style on the post http://sherridon.bluefrogclients.com/2010/12/15/wellington. Please let me know how to achieve this. Thanks. Sunil.
1
vote
1answer
839 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
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 ...
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 ...
15
votes
4answers
2k views

Could the WP script/style loader be used to concatenate and gzip scripts and styles in the front-end?

WP has a nice javascript loader included in wp-admin: http://core.trac.wordpress.org/browser/tags/3.0.4/wp-admin/load-scripts.php and a CSS loader: ...
2
votes
1answer
188 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
646 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 ...
5
votes
2answers
3k views

How to add a “last” class to the last post in loop.php?

I need to add a "last" class to the last post that appears in loop.php. Can someone tell me how to accomplish this?
0
votes
2answers
2k 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 ...
0
votes
1answer
625 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
235 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
346 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
2k views

different class (css) for sidebar widgets

I want to add different class (css) in widgets in site sidebar . For example: First widget in Sidebar -> class=sidebar-top1 Second widget in Sidebar -> class=sidebar-top2 third widget in Sidebar ...
1
vote
2answers
1k views

How do you customize the admin bar for buddypress?

I would like to update the coding on the wp-admin-bar. Since its positioned absolute, I would like to put a div around it that is relative and or just in a normal div. Or, I see you can hide the bar, ...
0
votes
3answers
1k views

Removing Wordpress Footer -without access to PHP code?

I want to remove the "powered by wordpress" and theme name in the footer, but all the tutorials refer to clicking on the "Appearance" tab, clicking on an edit button, and then going to the php ...
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.
5
votes
6answers
2k views

Cache busting CSS files other than style.css

All right, so we're probably all familiar with the typical way to ensure that your main CSS file is refreshed when you load the page (busting the browser cache), right? <link rel="stylesheet" ...
0
votes
1answer
815 views

Problem Implementing parallax in header of bp-default theme

I'm trying to implement parallax in bp-default theme's header, but facing problem .... The page getting glitches, the adminbar is centre aligned but the rest of the content of the page is getting ...
2
votes
3answers
577 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? ...
2
votes
3answers
912 views

Changing Font-Size based on specific Font thru javascript

I am using an 'rtl' font (named as JNN) in horizontal menu bar, which is normal & readable at 18px where as the alternate available 'rtl' fonts (like Tahoma & Arial Unicode MS) on Windows are ...
1
vote
2answers
4k views

How to add (css) classes to only one wp_nav_menu()?

Edit I removed the original Question as this Q has far above 1.000 views now - which means it's important to a lot of people - to show you something that works a) without a custom Walker & b) is ...
1
vote
1answer
155 views

Adding HTML to the Header, Screws up in IE7

Working on a site for a client: http://esteyprinting.jasinternetmarketing.com/ I added an HTML table to header.php to include the "Call us at..." and the social media icons. It renders fine in most ...
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 ...
0
votes
1answer
195 views

Missing sidebar parameter “fix” - before_content

as you know the sidebar parameters from register_sidebar() that control the widget layout are - before_widget - after_widget - before_title - after_title the problem is that you cannot implement ...
0
votes
1answer
74 views

CSS isn't rendered on a post but just posted as text

I have a wordpress.com hosted blog at sergiotapiag.wordpress.com and I can't seem to get my code to be published with my required setting. Wordpress is not rendering my embedded stylesheet but ...
0
votes
1answer
350 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 ...
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. ...
0
votes
2answers
2k views

Adding CSS to custom post type admin page causes error

I have this bit of code in my Meteor Slides plugin that loads a stylesheet on the admin pages of just the slides custom post type: add_action('admin_head', 'meteorslides_admin_css'); function ...
0
votes
1answer
195 views

why does this text overlaps in the sidebar?

I've been trying, without success, to remove to sliding of the text: "ggplot+background+grid+colour" From the left sidebar here Any suggestions on how to do this?
1
vote
3answers
1k views

How to add an RSS logo to my blogs header?

I have started a new site (here), I want to add the theme a RSS icon/logo on the top right of the theme (like in this theme). What is the best way for doing that? (PHP/CSS wise)
14
votes
5answers
11k views

best way to overide plugin CSS?

currently, I use CSS specificity to override plugin styles. I prefer this to editing the plugin as it makes for less headaches when you update. What would be nice is if my style sheet loaded after ...
1
vote
2answers
532 views

Combining multiple javascript and css files

Is there any plugin which can automatically combine all the javascript and css files that are used on a page? While I can combine them manually I would like to avoid them as some plugins add their ...
0
votes
2answers
72 views

Why is adoptStyles-css stylesheet link added to every page?

By looking at the source of any of the WordPress pages on my site, I can see there is this stylesheet link: <link rel='stylesheet' id='adoptStyles-css' ...