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

-2
votes
1answer
57 views

site-description css is overriden [closed]

I'm trying to change the site-description color of my twentythirteen header to #220E10. My style.css file reads : .site-description { font: 300 italic 20px "Source Sans Pro", Helvetica, ...
0
votes
1answer
78 views

How to use plugins_url() inside PHP stylesheet file [duplicate]

I created a plugin and use php file as stylesheet file PHP style sheet file: <?php header('Content-type: text/css; charset: UTF-8'); $x_position = 0; $y_position = -40px; ?> ...
0
votes
0answers
46 views

Trying to customize wordpress drop down categories

I'm having some problems on how to display the categories that i want in wp_dropdown_categories. Here is an image of the drop down - Here is the code for the dropdown - HTML: <?php ...
0
votes
1answer
48 views

How to update scrollbar when using Jetpack's Inifnite Scroller?

for the last couple of days, I have been trying to have a custom scrollbar (jquery+css) while using Jetpack's infinite scroller. What I want is to get rid off the standard scrollbar and use a custom ...
7
votes
3answers
395 views

How can I target WordPress 3.8 new interface MP6 with CSS?

When MP6 was a plugin in WordPress 3.6+ it changes the body class of the admin and added an "admin-mp6" class which helps me to style my plugin accordingly. Now with the latest Alpha of WordPress 3.8 ...
1
vote
1answer
53 views

Include user defined styles without including wp-load

I've looked through the answers on here and none quite match my situation. I have custom CSS that a user can edit and it is saved in the options. I use wp_enqueue_style to include a PHP file with a ...
1
vote
2answers
88 views

CSS file not registering through add_action

Im having a problem to register and load a gallery css code from my home page. Rest of the styles are loading fine, but this flexslider is not registering. Any guidance appreciated. <?php ...
0
votes
1answer
248 views

Wordpress hide the username/password fields in login page

I have installed the wordpress social login and I want users to login only using social website IDs. Now as a second step I do not want the username and password fields for users in the login page as ...
0
votes
1answer
48 views

How make theme css be first and not plugin css

I have in theme <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> I had 3.6 wordpress with my own theme and plugins witch have css. Since ...
0
votes
1answer
70 views

Change CSS for logged in users

In my css i have a hidden div id: #example {display:none;} How can I set this to display:block for logged in users only? I am assuming using Jquery would be the best option here for best ...
0
votes
2answers
368 views

How to check if a stylesheet is already loaded?

I was wondering how to check if a css file is already loaded. For example, I have in my theme Font Awesome font-awesome.min.css and I have a plugin that make use of Font Awesome too. So, I ended up ...
0
votes
1answer
274 views

Remove CSS & JS files from Wordpress Main Page For Increase Pagespeed?

With the reference of http://stackoverflow.com/questions/12463304/wordpress-load-plugin-css-js-in-functions-php-w-conditional-tags answered by @maiorano84 i am using cforms, FancyBox, WP Page ...
0
votes
2answers
41 views

something strange is happening to my code

This is my index.php (my homepage). It displays two loops. The first one displays the sticky posts and the second displays all of the posts. The <div id="primary"> that is located after the ...
0
votes
0answers
80 views

Can't open Custom Post Types Link in navigation

I have a problem with the archives permalinks of custom post types: They won't open by clicking on the links in the header navigation. I am able to open the link directly in the browser by typing the ...
0
votes
1answer
74 views

Dynamic css file Server Error

my theme uses a dynamic css file 'custom-style.php' which is included through wp_enqueue_style(); This file includes some styles depending on the theme options (colors,fonts,...) On some installation ...
0
votes
0answers
55 views

Advice On Wrapping Text Around A Shortcoded Box

I hope someone can help me with this. I have very minimal css knowledge and I have tried to sort this out but so far have had to luck. I brought a plugin which creates boxes that can be customized. ...
0
votes
1answer
61 views

comments_popup_link() - how to load different classes/images according to different comment condition?

As the Codex says the syntax: <?php comments_popup_link( $zero, $one, $more, $css_class, $none ); ?> it's clear that we can load different texts according to different comment conditions, ...
0
votes
0answers
66 views

Add custom CSS in WordPress Page

I am new on wordpress. I am admin in a wordpress site and I don't have access to the theme. I want to create a new blog page where I include a new css code. I tried to add on the text editor: ...
0
votes
2answers
43 views

How can a left and right margin be added to the admin bar without access to “…wp-includes/admin-bar.php”?

I do not have access to "wp-includes/admin-bar.php" due to security restrictions placed by my host, they have advised me to use css stylesheets which I am not familiar with. I am looking to add a ...
0
votes
1answer
97 views

functions.php / replacing div's with new ones?

I'm not sure the best way to tackle this one: I have a menu I saw and like and want to use it as a basis for my own. I have the CSS for it. On the page it comes from its all labeled differently to my ...
0
votes
1answer
197 views

single.php doesn't getting style

i'm embedding a wordpress blog in a html page and i did the steps to successfully add the header and the footer of my site www.srougi.biz/soulfighter/blog. But now I need to stylize my single.php that ...
0
votes
0answers
140 views

How do i keep my current page menu highlighted on pagination?

I have a navigation menu in a page that highlights the current menu you’re on based on the URL by adding a class. My problem is that my page is paginated, so sometimes the user will end up at: ...
0
votes
0answers
70 views

Shortcode add styles to the <head>

I have shortcodes that has option for :hover color. Is there a way to include styles in the head of a page for each shortcode element to change its hover color? There can be any amount of this ...
0
votes
2answers
29 views

Exclude parts of default css import

I'm importing Twenty Thirteen's default stylesheet, but I want it to leave my buttons alone. I could of course disable all mentions of "button" in the temaplate's style.css, but that would only work ...
0
votes
2answers
40 views

Show Nav Link To Users Signed In

Wordpress let's users apply CSS classes to links under Appearances-->Menus. Well based off of this, I would like to know if there is a way to hide links that have a certain CSS class. So say I apply ...
-1
votes
1answer
256 views

Background color and background image below element in Contact Form 7 - error tip [closed]

The idea was to make the not valid error tip that comes up when people fail to fill out a required field show up like a speech bubble. So the arrowhead image shows in the center and underneath the ...
0
votes
1answer
55 views

Style file inclusion

I am trying to include a flexslider.css file with this code: wp_register_style( 'flexslider', get_template_directory_uri() . '/css/flexslider.css' ); if( is_page( 'home' ) ) { wp_enqueue_style( ...
0
votes
0answers
37 views

Replacing parent theme's IE-specific CSS

I'm trying to do exactly what was apparently achieved in this discussion. However, I'm finding that my IE-specific stylesheet's being loaded all the time! My parent theme includes this in its ...
0
votes
2answers
114 views

Create a body div using CSS [closed]

I am trying to add a white background to just the body and header text on my blog, so that I can add a background image behind the whole site. I know I need to create a div that sits behind the body ...
0
votes
0answers
61 views

Remove field in comment reply form

I am trying to add in the below function a check to see if the comment depth is greater than 1, or if the comment is a reply so the 'My Rating' option does not appear when it is a comment reply. Or ...
0
votes
1answer
82 views

CSS of the admin panel

Where can i get hold of the CSS of the admin panels? Id like to make it look different on my development environment so that no one changes the production server by mistake. Like giving it a different ...
2
votes
1answer
349 views

How to highlight all current categories when viewing a single post?

When viewing a single post, the wp_list_categories function already marks the current category of this particular post by assigning the current-cat CSS class. If the post is mapped to multiple ...
-2
votes
1answer
28 views

What CSS selectors to know for WordPress? [closed]

Could anyone tell me what types of CSS selectors available in the main theme of WordPress? because I want to learn CSS and I just want to learn the necessary types for WordPress.
0
votes
2answers
550 views

Change a Page's Header Image

I am using Sunrise Theme from s5themes.com , and I was wondering if in the individual pages I can have a different Header Image, because from what I can tell they use the same CSS code in displaying ...
0
votes
2answers
733 views

How can I make new .css file in child theme override styles in child theme's style.css

I want to make a separate responsive.css file in my child theme but having trouble making the media queries override the styles in the child theme's default style.css. I've tried putting <link ...
0
votes
0answers
99 views

All “Featured Images” not displaying after Wordpress update

After updating to the latest version of WordPress today, I noticed that all "Featured Images" on my website are no longer displaying. After trying to figure the problem out for hours, I added the ...
2
votes
2answers
219 views

How to set two different themes on one WordPress? (Desktop vs. Mobile)

I created two WordPress themes. First for the Desktop and second for tablet/mobile. I want to set on one URL. When the website opens, the theme should change automatically based on resolution.
1
vote
0answers
124 views

Bootstrap Dropdown Menu unresponsive in mobile [closed]

I have built a responsive website using Bootstrap Theme the menu is working fine in desktop, but if I tap the menu button in mobile devices, more often unresponsive and the transition is delay. Any ...
0
votes
1answer
86 views

Wordpress code editor messed up my code!

I just spend a few hours trying to make my code look better. In the past, I did some changes using Wordpress code editor and after downloading these files yesterday, I noticed that code is totally ...
0
votes
1answer
96 views

How to make changes to style.php [closed]

I am working from a Wordpress theme called Dynamix. The site is located here... If you scroll down to the post with a comment, you'll see a comment bubble, with a solid black background. If you ...
0
votes
0answers
74 views

Change Login CSS - Include instead of echo

I'm trying to figure out how to include a stylesheet instead of echo'ing <style> tags. I'm currently using the following function: // Custom Login Styles function login_styles() { echo ...
0
votes
1answer
127 views

Add HTML input tag to to site navigation

I'm building a site using the twentytwelve theme. I need to add an input text box situation on the far left of the menu navigation bar. Here is the HTML from Header.php and the css from style.css. ...
0
votes
1answer
38 views

An image on my site is showing as the wrong image [closed]

I have an image on my site, which is showing up as the wrong image. When I "inspect element" in chrome, and click on the link to the image, it shows up as the right image. How can this be? Here's ...
-2
votes
1answer
119 views

Put CSS on TOP, how?

I have this mission, that regards setting my existing CSS on HEAD. I've tried to make a search on if there was any kind of plugin or code to automatically set the CSS code directly in Head. The main ...
0
votes
1answer
122 views

Which filter affects the 'entry-title' post class

I created a plugin setting a $var to true if the post belongs to category 'a', and set the same $var to false if the post belongs to category 'b', it works and I can get the correct value depends on ...
0
votes
1answer
70 views

How to add/insert a class to a sidebar in single.php?

I have a sidebar displaying in the home and single pages. When it shows up in the home page, it has an already defined css class (width:30%) When it shows up in the single page, i want to add/insert ...
0
votes
1answer
47 views

Wordpress is not displaying CSS file

I have a crazy problem happening and it is blowing my mind. I installed Wordpress on my Localhost and began developing. I modified the standard twenty twelve theme and add custom HTML and CSS to the ...
-1
votes
1answer
116 views

Wordpress custom post type odd and even styling [duplicate]

I've got a custom post type that I would like to be able to show in the following: is this possible using the following code: <?php query_posts(array('post_type' => 'story', 'orderby' ...
1
vote
1answer
81 views

How to generate CSS from a shortcode within a plugin

I'm struggling to generate CSS 'on fly' from a shortcode that is within a plugin using class. Here is the shortcode function: public function shortcode($atts, $content = NULL) { $data = ...
0
votes
1answer
180 views

How can I insert a disclaimer in a Wordpress site?

I am trying to look for a way to enable me to insert a disclaimer into the footer of my website. I am using wordpress to power my website. Is there anyway I can make a page link at the bottom? <a ...