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
224 views

Adding dashicon fonts to the admin of pre 3.8 installs

I've started using the dashicon fonts in my theme options page for WP 3.8+ users. To take care of users on < 3.8, I've added the dashicon fonts to my theme folder and also an entry at the top of my ...
1
vote
2answers
458 views

Override theme style with other CSS on a specific page

The wordpress theme I bought has some jQuery UI styling included in its default CSS file. The problem is I have a plugin that uses jQuery UI and the theme's default CSS makes the plugin corrupted. I ...
0
votes
0answers
29 views

How to prevent selected JavaScript , CSS inline W3 total?

I use w3 total, inline JavaScript and CSS feature (HTML minify). But after enabled inline JS, lazy load video wordpress plugin stop working. How do I exclude w3 total automatically inline lazy load ...
0
votes
1answer
87 views

Is it OK combined wp-include js, jquery, css?

I have combined wp-include folder JavaScript, Jquery, CSS, jquery.ui, min.css and min.js files using W3 total. JS, jquery, jquery.ui and min.js files are combined and added before tag ( w3tc) with ...
0
votes
0answers
8 views

How to load dynamic content via jquery/css in a page? [duplicate]

I'm trying to re-edit my website, and convert it's content into wordpress. I have the layer slider in which I've selected <div/video> option to add a NowPlaying html div which is loaded ...
0
votes
1answer
34 views

Why I obtain different visualization when I run the website on my local machine and on remote server?

I am finding a very strange behavior with a WordPress main menu into this custom theme that use BootStrap: http://onofri.org/WP_BootStrap/ As you can see in the horizontal main menu the background of ...
0
votes
5answers
2k views

Styling Custom Meta Boxes?

I've built a basic meta box and have this in my functions.php. The current code: add_action( 'admin_print_styles-post-new.php', 'portfolio_admin_style', 11 ); add_action( ...
0
votes
0answers
90 views

I can't style my customized navigation menu in my wordpress website!

I am having this problem where I created my website first, with a menu in my header.php page. And then I wanted to transform my website into a wordpress website, so I did what I had to do, but the ...
-3
votes
1answer
37 views

Min height of page [closed]

I am using the Weaver theme and would like to set the minimum page height to a certain size. I have read about it and added: min-height: 900; to my style sheet but it does not seem to be working. ...
0
votes
3answers
93 views

Change background color of subpages

I have several pages, which are ordered like this: Home Projects - Project 1 -- Project 1 Subpage 1 -- Project 1 Subpage 2 - Project 2 -- ... And I want to change the background color (in this case ...
0
votes
1answer
296 views

CSS changes not taking effect

I make changes to my style.css file but they do not take effect on the website. Style.css is located here: /wp-content/themes/academy/style.css I have made changes to it previously and the changes ...
0
votes
1answer
47 views

Custom CSS to resize elements in multiple categories

I am using the following custom css (in a WordPress theme) to resize a certain element but only if it is in a particular category: .category-69 #main {width: 300px!important;} .category-16 #main ...
0
votes
0answers
97 views

Why this BootStrap main menu appear twice in my theme?

I am going crazy with the following WordPress custom theme that use BootStrap CSS framework: http://onofri.org/WP_BootStrap/ As you can see I have a problem with the horizontal main menu in my ...
3
votes
2answers
762 views

How to show Disqus comment count number only without text?

I'm using Disqus WordPress plugin. When the page is not fully loaded yet, there's only comment count but after that Disqus auto appends the string Comments to that which looks really ugly. From the ...
0
votes
2answers
126 views

Where is definied the theme location for the main menu in a WordPress template?

I am pretty new in WordPress (I came from Joomla) and I have the following doubt related the Theme Location of the main menu. For example, using the preinstalled Twenty Twelve theme, if in the ...
0
votes
0answers
44 views

Why the slideshow is not shown in my theme?

I am pretty new in WordPress theme developing and I have the following problem. I am trying to create a WordPress theme that used BootStrap CSS framework based on this BootStrap demo static website ...
0
votes
2answers
52 views

Some questions about how proper add 2 CSS file in a WordPress theme?

I have the following situation loading a CSS. I have a WordPress theme that load a style.css settings file by this code into my functions.php file: /* Function automatically executed by the hook: * ...
0
votes
1answer
84 views

Using standard backend elements in Plugin

I'm currently writing a plugin for a company. I created a custom backend page where the admin can change settings used by the plugin. Currently it looks very messy because there is just too much ...
0
votes
1answer
78 views

Adding elements to wp_list_pages (within <li>, but before <a>)

I'm working on my first wordpress theme and I'm running into some trouble. I'd like to add an extra div (which I'll style in css) within each <li>, but before the actual <a ... > element ...
0
votes
1answer
41 views

featured post as div background

Ok I didn't find an answer yet.. because my code is different.. I want to set the featured image as the div's background but I don't know how to do that.. html, php and css collide in one line.. This ...
4
votes
2answers
244 views

Why I can't add a CSS style in this WordPress theme?

I am trying to add a CSS style to a WordPress theme that I am developing as is shown in this tutorial: http://www.wpbeginner.com/wp-tutorials/how-to-properly-add-javascripts-and-styles-in-wordpress/ ...
0
votes
2answers
121 views

Infinite scroll messing up nth:of-type

I am using infinite scroll of my local theme here and it is causing some CSS issues. I was hoping if I ran this by some of you, you might have a solution to offer. This is pretty much the layout: ...
0
votes
1answer
135 views

change the_content images for different sizes (Desktop, tablet, mobile)?

This may be a complicated question so I'll try to explain it as easy as possible. I have three sizes for images in my post (thumbnail, medium, large, 640px, small) and I would like to change the size ...
0
votes
1answer
49 views

Some doubts about WordPress handle the horizontal main menu visualization

I am pretty new in WP (I came from Joomla) and I have some doubt regarding how WordPress handles the main menu (I mean the horizontal menu in the header). As example I use this online test website: ...
0
votes
1answer
114 views

How to create a WP theme that use BootStrap? [closed]

I am pretty new in WordPress and totally new in BootStrap development (I have beginning to study BootStrap yesterday) and I have the following doubt about how create a custom WP template that use ...
0
votes
0answers
21 views

How to style only part of the category names?

My categories are all two words, such as: Name X Name Y Name Z How can I style the X, Y, Z as bold and leave the Name as normal? I can do so in the menu, simply by adding <b> tags around the ...
0
votes
1answer
88 views

Combining fancybox with multiple thumbnail plugin

I'm combining fancybox(jquery) with multiple post thumbnail plugin. Basically the idea is when the user click the featured image post it will display the image on the secondary featured image. Here is ...
0
votes
0answers
54 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. ...
1
vote
1answer
24 views

What are the Entry classes for?

I've come across a few tutorials that make reference to entry classes; entry-meta and entry-content. Are these classes created by Wordpress or classes I should be creating? And what are they intended ...
0
votes
2answers
190 views

Can't call custom css in style.php

I am using SMOF options to control variables in the backend. As it is just now I have the css options being generated in the header file and they work, however I wish to add them to a style.php. I ...
0
votes
1answer
56 views

CSS conditional on custom field value

I am looking to add some CSS rules to an ID conditionally on the value of a custom field value. Specifically: add to id #firstimg the rules: opacity:0.4; filter:alpha(opacity=40); provided that ...
0
votes
2answers
602 views

How do I minify '@import' css files with wp-minify?

I am trying to use wp-minify to minify my js/css on the fly. I can get the 'direct' css files to be minified, but I can't seem to get wp-minify to minify the 'linked' css files. My theme is a child ...
0
votes
1answer
65 views

Why doesn't WP recognize images in posts like other content? [closed]

I've noticed a problem I have with images in my posts: they seem to go unnoticed to my CSS. For example, I have a span tag that is adding a 100px margin to the top of itself under the last paragraph ...
0
votes
1answer
2k views

WordPress with PageLines theme: how to change the background color of a page? [duplicate]

Possible Duplicate: PageLines theme: how to change the background color of the main content vs. entire page? I use PageLines free version, with WordPress 3.3.1, for this website: ...
-2
votes
2answers
2k views

PageLines theme: how to change the background color of the main content vs. entire page?

I use PageLines free version, with WordPress 3.3.1, for this website: http://new.teleosis.org/?page_id=76 I want the background color of the whole page to be light green, and the background color of ...
0
votes
0answers
90 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
2answers
58 views

how to arrange the bullet list items in vertical [closed]

This is my test_site .In there the list items are displaying not in order. I know this is because of some silly css problem. but I don't know how to write the css to make them to display neatly. I ...
1
vote
1answer
38 views

Registering a stylesheet inside my WordPress widget

I did see the other topic similar to this but I cannot get mine to work. I am using WordPress 3.8 and am creating a custom widget for a site. I need to style it a certain way so I need to load an ...
0
votes
2answers
177 views

How to make different custom post layouts?

I am new to wordpress, and have encountered some difficulty in making my own custom layouts. I'm using _S framework (underscore.me) as well as Custom Post Templates plugin. I'm using custom fields ...
1
vote
2answers
984 views

Add CSS class to every image

I want to add a CSS class "myimg" to every image both inside and outside of a post. What is the best way to approach this?
0
votes
0answers
30 views

How to control the width of the container in theme customizer wordpress?

How can i control the width of #container in theme customizer through functions.php in wordpress. I want to make a control so i can set the width from 100% to 60% or 30% of my #container How can i ...
0
votes
2answers
35 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
481 views

Adding first and last classes to three column layout in Bones boilerplate

I'm using the bones boilerplate theme in Wordpress and on the homepage am displaying a section containing three columns for the latest three posts in Wordpress. The bones theme uses the responsive ...
0
votes
1answer
16 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
2answers
35 views

Restrict CSS on one page

I have my site: http://theapkstore.com . On the homepage I've added a slider. And reduced the top margin of widget which says "Welcome to my site". The homepage looks fine but then when I open any one ...
4
votes
1answer
1k 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
47 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 ...
1
vote
3answers
443 views

Override CSS settings of plugins

I want to override my plugin CSS settings, but I can't do that in my style.css file, because the plugin CSS gets loaded after. Is there a way of getting style to be applied to override plugin CSS?
5
votes
2answers
701 views

Are the wordpress Core css styles really all nessasary?

On WordPress Codex there are this CSS styles listed, its a quite big list of styles but it seems they are doubled unnecessary. It says: Each Theme should have these or similar styles in its ...
0
votes
1answer
56 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 ...