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

1
vote
1answer
3k views

How to Add Custom CSS Buttons to WordPress as a Shortcode?

How do I add custom CSS buttons as a shortcode like this: [button class="mybutton1" link="home"] I have the CSS of the button from here .myButton { -moz-box-shadow:inset 0px 1px 0px 0px #...
0
votes
1answer
648 views

Animate.CSS with a child theme

I am trying to implement animate.css with my Twenty Twelve child theme. I read this post about trying to implement it (option 1), but it is not working. The only thing I am doing differently is that I ...
0
votes
1answer
1k views

CSS images don't show up with bloginfo

I'm new to WP and PHP and I'm trying to convert my 'old' HTML theme into a WP theme. I created my index.php page and linked it to the style.css. I have some images in the css and, from what I've read, ...
0
votes
1answer
238 views

CSS Styling for a Page/ Site made with Pagelines

I know how to change the HTML of page inside wordpress but for some reason I can't find the CSS for the page I'm looking for. I can find a huge amount of code made by Pagelines(Is it in there?). The ...
0
votes
1answer
193 views

CSS/JS files in WordPress

In web development, I get used to place css/js files under separate folders (css folder, js folder ..etc). What I am experiencing in WordPress is that I cannot access these folders in WordPress Admin ...
1
vote
1answer
1k views

CSS for Custom Post Types

How do I assign CSS to custom post types so it displays different from other Custom Post Types? Example: Custom Post Type 1: Row of 4 Images Custom Post Type 2: a 2 column with an Image in the ...
-1
votes
1answer
668 views

Changing from primary to a custom menu changes my CSS navigation layout

I am needing help figuring out my main navigation bar. I had created it with the default navigation hook but now want the ability to hide pages so they do not show up on the main navigation. However ...
4
votes
3answers
17k 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
1answer
560 views

front-page.php stylesheet

I've googled and googled but I can't seem to find out anything that's understandable to me... I want to have a static front page for my website, to this end I have created a front-page.php file in ...
0
votes
2answers
191 views

Add background image/layout for single page?

I'm seeing that a lot of sites (moz.com,hubspot.com) are using a background image as a layout. How do I add a single background image easily onto WordPress? I also want to add the layout here: http://...
-1
votes
1answer
1k views

wp nav menu - highlighting current page not working properly [closed]

I'm trying to highlight the current page in the wp nav menu. I've read through the codex and found .current-menu-item, which I'm using in my CSS.. However it's not working. What am I missing? css #...
0
votes
1answer
255 views

Highlight wp_nav_menu when category is selected

Using the wp_nav_menu() function to display my menu I noticed the highlighting in the menu was working well for the pages I created (like archives.php) but not anymore when a date (date.php), category ...
0
votes
1answer
87 views

How to change widget's form color in admin?

I have a simple question. How to change widget's form color in admin panel of wordpress (on widgets page) to make them more unique? Here is a simple example:
-1
votes
1answer
1k views

Changing color of specific tab of top menu

I am messed up with a problem and still i am unable to find it's solution. I am trying to change color of only 1 tab in whole navigation menu. I mean if my navigation bar include 5 tabs and i want ...
11
votes
9answers
5k views

Adding first / last CSS classes to menus

is that possible, without javascript hacks? like this: <ul class="my_menu"> <li class="first"> ... </li> <li> ... </li> <li> ... </li> <li class"...
1
vote
1answer
600 views

Login Button CSS

I'm trying to find the Login button CSS code. I tryed this topic, but i think the path has changed after wordpress updated: http://wordpress.org/support/topic/how-to-change-the-login-button-color ...
-1
votes
1answer
398 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
2answers
984 views

How to show one post different from the rest?

Hi the code i am using below will show the last 5 post in whatever catergory i choose, but i was wondering, How can i get it so that the first post shows different from the other 4. I want the first ...
1
vote
4answers
409 views

Add a class to posts in increments of 2

Is it possible to add specific classes to posts/pages in a query in increments of 2? For example Post 1 Post 2 Post 3 (add custom class) Post 4 (add custom class) Post 5 Post 6 Post 7 (add custom ...
6
votes
5answers
807 views

How to Handle CSS Organization

I notice not many people have downloaded the plugin Combine CSS. Without it, I don't know of a better way to automatically combine CSS files. I was wondering, are 99% of the developers using ...
0
votes
1answer
83 views

Styling the second sidebar

Ok so i added a second sidebar to my site, only problem is styling the widgets. here is the code i am using in my functions.php file // Widgets plugin: intializes the plugin after the widgets above ...
1
vote
2answers
2k views

wp_get_archives() - Get CSS selector for current month

I'm looking for how to get a class in the wp_get_archives functions to get the current month (when we are in a month archive) just like when we call wp_list_categories, the current category has a "....
0
votes
1answer
116 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 ...
0
votes
2answers
1k views

Multiple pages on one with different HTML

I am a bit confused on how this may be achieved. I have a website that I have coded already with static HTML/CSS and I am trying to incorporate it into wordpress. The challenge though is that the ...
0
votes
1answer
97 views

Converting Static HTML pages to Wordpress

I have copied the HTML page content to the pages of the WordPress. The words have shown up under Preview but all the CSS and styling are gone. I have also imported the style.css into the Theme ...
0
votes
2answers
1k views

Disable CSS for IE 8 and earlier.

I am trying to find a way to disable the twenty twelve stylesheet for anything in IE 8 or less. Is there a conditional code that I can put in my functions php file that will enable the default ...
0
votes
2answers
124 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 ...
-1
votes
1answer
126 views

Rollover button doesn't appear in sidebar [closed]

For some reason, I can't add a PayPal donate button to the sidebar of my website. I've been using CSS to create a rollover effect, and while it's worked on a static page of my site: http://...
1
vote
1answer
111 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. Here'...
0
votes
0answers
43 views

WP_Nav Highlight Parent Issue

I'm trying to figure out how to highlight the parent nav of a page and becoming stuck. I've seen something like this : <li <?php if(is_page('services')) { echo 'class="current_page_item"'; } ?&...
0
votes
2answers
576 views

How to add a body class to all interior pages except the homepage

I want to add a class to the body tag to all pages EXCEPT the homepage. Right now I have. <?php body_class('interior'); ?> But it adds 'interior' to ALL pages including the home page. What is ...
1
vote
1answer
720 views

WordPress CSS doesn't update

I've got a new WordPress website that I'm testing that hasn't been updating properly when CSS styles are updated over FTP. I haven't got a cache plugin and I have cleared my browser cache and have ...
0
votes
0answers
286 views

Line break - ever-confusing in new editor

I can see this issue has been discussed at length but I'm still struggling to find a solution. I'm trying to get reasonable spacing between paragraphs Between first two paragraphs, I'm using one line ...
0
votes
1answer
75 views

What can cause JavaScript and CSS files to be minified?

On one of my client's site, I see that my plugin's JS and CSS files are minified. Trying to identify what causes the files to minify, I tried to deactivate all plugins (except mine), and changing the ...
-1
votes
2answers
72 views

How to change the CSS in one file?

Should I go to many files to change the appearance of Wordpress? Isn't it possible to change it form one file? And what should I learn from CSS to be able to modify Wordpress easily? I mean should I ...
2
votes
1answer
128 views

How to highlight the current page in the nav menu?

I'm customizing a WordPress theme for my school, and I'm a bit annoyed by the fact that the current page in the nav menu is not indicated. For example: You can clearly see that I'm hovering over a ...
0
votes
2answers
201 views

How to change a specific character in a theme option value - replace a space with a plus sign

I'm writing a theme where I'd like to give users the ability, via a theme option, to specify a typeface for their site with Google Web Fonts. If a user wants to embed a font like, say, News Cycle, ...
-1
votes
1answer
800 views

Why there is a gap between <UL> and it's container (A drop down menu in wordpress) [closed]

This drop down menu works well in HTML but when i move it to wordpress template, there is a gap between and it's container (.menu-top-container). when the mouse on the menu you will find the gap. ...
4
votes
1answer
801 views

Logout/login redirect CSS issue

I'm using WordPress Multisite. When I use wp_logout_url(), I get redirected to the login page but somehow I end at a different login page without any styles applied <a href="<?php echo ...
0
votes
1answer
661 views

Override WordPress Widget CSS Classes?

I'm attempting to style lists in the sidebar (you know, <ul><li>) and I'm curious how to also make widgets adopt this class. Each widget seems to have its own class assigned to it by ...
0
votes
4answers
111 views

contact 7 plugin stops some pages from working properly

I started to use contact 7 plugin and I'm having a slider and some effects on other images when i activate the plugin they stop working this is the web page http://www.digitalways.com.sa/ I ...
0
votes
1answer
63 views

Using page-id-{ID} from body_class() in local dev, versus live staging

Not sure this is a question suitable for this forum, but I'll try: I think it is pretty convenient targeting elements in css/jQuery for a specific page by using the page-id-{ID} generated by ...
6
votes
2answers
4k 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
1answer
87 views

Plugins not showing up for custom template

I'm customizing the index.php page. I've customized my header.php and footer.php and created the styles for both things. My main index.php page has: <?php /* Template Name: Main */ ?> <?...
0
votes
1answer
135 views

Best practice when modifying plugins CSS [duplicate]

If i need to change CSS for a plugin, should i place the modified declarations with the plugins classes in my child themes style.css file or modify the plugins style sheet directly?
1
vote
1answer
257 views

Add a class to post title if a link ends with a certain extension

I am using a Page Links To plugin that allows me to link the post title to an external web page, rather than to the content of the post. And I link some of the post titles to external pages, and ...
0
votes
0answers
438 views

Menu li on hover reveals a Div styled with CSS special effects like transform shapes gradients or a background image

I was asked to make this a more obvious WP question, sorry. It is about the WP NAV MENU I think... Is there a way to have every menu item get listed and have a div correspond to it that is within the ...
-1
votes
1answer
185 views

How to centre menu items on horizontal nav bar? (e.g. make margins equal) [closed]

I'm currently working on building this site: http://2013.whitehallrow.com/ I would like to centre the menu items so that there isn't the large gap after "Row Club" on the right. I've tried to locate ...
0
votes
0answers
220 views

Cant get theme to change footer color through theme customizer

I am having an issue trying to configure the theme I am working on to allow the footer color to be changed. So far all of my other options work so I am geussing it is an issue with the way I am ...
9
votes
1answer
12k 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 ...