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
2answers
97 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
343 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
52 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
142 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
560 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
379 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
45 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
99 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
102 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
60 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
80 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
69 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
46 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
105 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
267 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
183 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
2answers
34 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
41 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
283 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
57 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
39 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
147 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
1answer
108 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
417 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
30 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
934 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
1k 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
127 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
295 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
151 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
92 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
100 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
80 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
139 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
40 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
144 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
166 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
77 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
49 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
156 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
94 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
230 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 ...
0
votes
2answers
3k views

styling wp_nav_menu - horizontal, sub-menu drop downs

live site. I'm using wp_nav_menu called "blog-nav". It's displaying ok, however I'd like to have it horizontally oriented and with sub-menu drop downs(all lower cased items should be in the drop down ...
0
votes
0answers
16 views

Calling up a second Theme functions.php [duplicate]

Is it possible to activate a 2nd theme functions.php using custom CSS code? I want to change files when the browser is above a certain size so this effects something else in my site. Thanks Jason
0
votes
2answers
175 views

How to link to a alternative page in CSS

I have a wordpress site and I want to be able to completely change a page that is displayed based on the browser size in my Custom CSS, so that if it is over 1500 pixels it loads a completely ...
1
vote
3answers
182 views

To enqueue or not to enqueue

What is the best way to link to a CSS file in WordPress? Method 1: Use the following whenever needed <link href="<?php echo get_template_directory_uri(); ?>/my-style.css" rel="stylesheet" ...
3
votes
1answer
157 views

How to modify/extend/override a core method?

This is my first post. In advance, thank you for welcoming me... Context When you enqueue style, you can output your css link into conditional comments. global $wp_styles; ...
0
votes
1answer
267 views

Child Theme version is set by parent theme, that isn't correct

I'm using Genesis as my theme framework, and while Genesis is at version 2.0.1, my theme is a different version (1.0). When it adds the style.css line in the header call it is appending the wrong ...
0
votes
1answer
242 views

Display alt text as tool tip on page

I'm using the Background Manager Wordpress plugin (http://wordpress.org/plugins/background-manager/) and I'm trying to display a custom element on the page that I have not been able to find any help ...
1
vote
1answer
48 views

No responsive design is displayed

I have a strange problem. I'm using the Twenty Thirteen theme. When I decrease the navigator width it should make the h1 title decrease too, but it does not. I have the next default css rule: ...