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

4
votes
1answer
590 views

Enqueue a stylesheet for login page and make it appear in head element

I try to style the login page in my theme. Very simple: add_action( 'login_enqueue_scripts', function() { wp_enqueue_style( 'TEST', get_template_directory_uri() . '/css/login.css' ); }); ...
0
votes
1answer
36 views

Display pages from specific page template

Okay I have found the following code on line, which seems to be working and displaying all of the pages using the page_library_html.php template. This code only shows the title of them though. Can ...
0
votes
1answer
15 views

Applying same style to all the comments on the page

I have this code below: #comment-1, #comment-2, #comment-3 { width: 70%; margin: 1em 0 0.5em 0; } This CSS is to format the comments for them to be 70% of the parent div's width. I ...
0
votes
1answer
39 views

Not able to override plugin's default css rules

I'm not able to override the "Total Control HTML5 Audio Player Basic" plugin default css file. I've copied the plugin css default content inside style.css file in my child theme, and then I've tried ...
1
vote
0answers
19 views

invisable position element [closed]

I have a weird ghost like element on my page which blocks other elements. Visually its positions alright, but it is larger then it appears. If did a hour of inspecting and can't find any source that ...
0
votes
2answers
30 views

Extending site width according to the image size

The WordPress theme is for a comic reading site. Since image cannot be re sized because the text will be distorted, I need to extend the site width according to the image size in the post. Here is ...
0
votes
1answer
63 views

CSS is not loaded on mobile devices

I used w3 total cache on my Multisite install. For a reason I didn't understand, I was hacked, and when someone was going to one of the website, the visitor was redirected to porn websites. Only on ...
0
votes
1answer
30 views

Help with changing style of the extended menu drop down [closed]

I am trying to change the style of the extended menu drop down from being on the right side to the left side. As you can see by the picture provided, the menu item named "Catholic Women's league of ...
0
votes
0answers
76 views

background image in post with images on top

I am trying to create a post that consists of a background image with images over the top of it. The idea is that the top images are links overlay on the background. I have used the following css: ...
0
votes
1answer
31 views

Adjusting post width according to the image size

I am building a theme for a comic site. It seems some images are bigger than the post size. I need to resize the images according to the Original Image size. Can I achieve this through CSS? It doesn't ...
-3
votes
1answer
129 views

How to use WordPress 3.8 back-end CSS in front-end?

How to use WordPress 3.8 back-end CSS in front-end? I want to use the back-end button CSS, button icons CSS etc. onto the front-end side. Is there any way, I can just call the CSS class in front-end ...
0
votes
0answers
19 views

General plugin customizing question problem

I've already asked this question within the plugin specific forum but I'd thought I would try here as a general question for any plugin. I'm trying to use the WP-MEMBERS plugin and I noticed that in ...
0
votes
1answer
31 views

Where do I go to change the position of the style.css?

My CSS style.css file is in my theme folder. I would like to put it in a CDN. How do I change the link element that loads the css? I am using as a base the 2013 wordpress theme.
1
vote
1answer
159 views

Load custom css after bootstrap

I have this in functions.php. How can I modify it so that my custom css is loaded after bootsrap.min.css? function register_css() { wp_register_style( 'bootstrap.min', ...
0
votes
0answers
26 views

Add custom css to menu while using custom nav_menu_tag

I created a custom menu to replace my li with td markers. However, I need to be able to add some custom tags through the wordpress menu. How do I do so? Is there something I can add to my ...
0
votes
2answers
36 views

Style something only on the home page

I am relatively new to Wordpress, but I'm sure there's a way to do what I'd like to do. I have a container in my template, and on the home page I'd like to specify slightly different padding to this ...
0
votes
0answers
26 views

how to disable inner links in wordpress

i have used jquery accordion menu plugin for site navigation in my wordpress website. in that i like to disable secondary level links for specific main links. i have disabled third level links by ...
0
votes
0answers
38 views

Passing two values wordpress dropdown category

I have been following this guide on how i can pass two values to filter the post instead of one in wordpress category drop-down. The objective here is once the user selects a location and then selects ...
0
votes
1answer
74 views

The Events Calendar Plugin - List View Background Colour Issue [closed]

I'm trying to look for some help, I've got a WordPress website that I'm working on. I'm using this plugin called The Events Calendar, but in List View, the background keeps showing in transparency... ...
-1
votes
1answer
36 views

site-description css is overriden

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
59 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
37 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
37 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
383 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
38 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
67 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
131 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
36 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
36 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
151 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
145 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
39 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
61 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
39 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
49 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
46 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
55 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
36 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
77 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
96 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
128 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
51 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
21 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
38 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 ...
0
votes
1answer
208 views

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

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
49 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
25 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
89 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
53 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
52 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 ...