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
2answers
728 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
52 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
30 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
46 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
54 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
34 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
30 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
178 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
89 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
86 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
33 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
68 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
19 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
54 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
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. ...
1
vote
1answer
22 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
70 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
33 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 ...
2
votes
1answer
939 views

TinyMCE: adding CSS to format dropdown

I successfully added a TinyMCE stylesheet using add_editor_style() so that I can preview the styles in the body of the TinyMCE editor. However, am I right in assuming that the add_editor_style() ...
0
votes
2answers
546 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
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
2answers
29 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
33 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
135 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
526 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
24 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
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
179 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
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
2answers
21 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
591 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 ...
1
vote
3answers
345 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
528 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
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 ...
0
votes
3answers
3k views

Why won't child theme's style.css override plugin's css

I am using my own child theme for twentyeleven, and I've made some changes to some plugin's css classes in my child style.css. The problem I'm having is that if I add a new css attribute to a class ...
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
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
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
130 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
6answers
2k views

How to start learning CSS and theme development?

What would be your suggestions for learning CSS and WordPress theme development ? I have been using WordPress for over 4 years now, but I have never really gotten comfortable with CSS or theme design ...
3
votes
2answers
4k views

How do I load a CSS style into WordPress admin area only?

I'm trying to load a CSS file for my WordPress post area, but having no luck. I have read over the wp_enqueue_style function and came up with the code below, but it doesn't load up. Is there a tag or ...
1
vote
1answer
160 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 ...