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

0
votes
1answer
149 views

Change class names dynamically added to html elements by wordpress

I'm new to wordpress theming and I am working on a theme that uses the newest Twitter Bootstrap. Here is my question: WordPress adds class names to html elements based on whats going on ie: <ul ...
0
votes
2answers
158 views

Wordpress stripping out BR tags, need assistance

Im having a problem where WP for some odd reason is stripping out my BR tags. Ive looked online and have read a few solutions that people offered including the installation of TinyMCE advanced plugin ...
0
votes
0answers
38 views

How to create a custom style for a particular page type

I have a page that requires a different underline color for each first letter on all H2's in every "neighborhood" and there are 27 of them. I'm using a SASS variable for the hex color $a. The current ...
0
votes
0answers
58 views

After upload on server 404 on all pages, no css

I developed a WordPress based site on using XAMPP 1.8.3. On my local machine everything is working fine. On the server I am using php 5.4.12, I copied the site files into subfolder with the same ...
0
votes
1answer
202 views

Show Secondary Sidebar on Category pages (archive)

My site has the following structure where one column is for the main content (articles) and the other one, on the right, is for the sidebar (primary sidebar). The theme allows me to change the layout ...
0
votes
2answers
443 views

how can I change the background color of all posts on my server?

The default for the theme I'm using is to have a white background for any post (the part with the text, not the background that forms the border around it) on my wordpress installation. Is there a way ...
0
votes
0answers
63 views

Changes in a home, two columns

I'm working with this template (this is a demo), I need the post shown on the home to appear in two columns rather smaller in width. Enclosed is my index.php code, I've tried everything by various ...
-1
votes
1answer
99 views

[class*=“content”]:before css styles in TwentyThirteen [closed]

i found this css style in css stylesheet od TwentyThirteen theme, i search a lot in WP forum and w2schools and even w3c but i can't find any thing like that. what that means
0
votes
0answers
215 views

Dynamic background image in CSS, from “Video Thumbnails” plugin

I'm trying to add a "play" icon overlay on my video thumbnail, like this: <img src="play.png" border="0" style="background:URL(image.jpg) center center black;" /> My image.jpg for the ...
0
votes
1answer
220 views

Theme looks ugly - FOUC - stylesheets loaded in footer

My theme looks good and it works so far, but in the first seconds of loading the whole layout looks buggy: http://andreapuiatti.de/screenshots/cssstylebug.png I think is because the css has been ...
3
votes
1answer
615 views

Understanding wp_add_inline_style

I am trying to get my head round the wp_add_inline_style() function in WordPress. //setting inline css. function my_styles_method() { wp_enqueue_style( 'custom-style', ...
1
vote
2answers
999 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
1answer
39 views

Changing database links has no effect

So I just moved my website from localhost (127.0.0.1/wordpress) to a server. I followed many tutorials and I managed to get the site going. The home page loads, the content is there, however, subpages ...
2
votes
2answers
215 views

Add class to before_widget for all widgets with a dropdown and a counter

Some predefined widgets offer the option to use a select element (dropdown) and/or a counter after each entry. How can I add the CSS classes widget-with-dropdown or widget-with-counters to these ...
0
votes
2answers
80 views

External stylesheet per page

I want to know if this is a good thing to do. I have many conditional tags for Wordpress pages and all of them are combined in 1 stylesheet, which is not bad, but I see that the front-page for example ...
0
votes
2answers
675 views

How to edit wordpress native gallery's css file?

I want to edit my gallery's css file. Where do I find it? or Am I override it? PS: I've got 5 different gallery in 5 different page..
0
votes
2answers
325 views

Hide input field when second input field is in focus

I'm trying to create a sidebar where there are two inputs side by side: Search|Subscribe. When the user clicks on one input (Search, for example), I want the second (Subscribe) to disappear so the ...
0
votes
2answers
179 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 ...
0
votes
1answer
411 views

Sidebar widgets - dynamic CSS : problem with widget-title

Fortunately or unfortunately without much studying I made a dynamic sidebar widget area for my client's website. My functions.php codes are: ... register_sidebar( array ( 'name' => 'Left ...
0
votes
1answer
102 views

Change login CSS

Is there a filter or something that would remove: html,body {height:100%;} declaration in the login page? I have made a custom login page and the html, body {height: 100%;} is conflicting in my style. ...
0
votes
1answer
2k views

Customizing single product page woocommerce

How do I change the background color and take the header and menu out from woocoommerce's single product page? I tried custom css on specific post and tried to edit the page and it doesn't work at ...
2
votes
4answers
868 views

Hide a div that is part of all pages on one specific page

How can I hide a div (which contains an image) for a specific WordPress page? I believe my page id is 46: Here is the div I am trying to change: <div id="static-footer-image" ...
0
votes
2answers
1k views

CSS not updating in browser when I change it

I am working on the CSS of my wordpress site. When I make changes and refresh the page the changes are not reflected. When I clear the browser history and cache the changes are still reflected. When I ...
0
votes
1answer
71 views

Can't style custom menu

I have a Wordpress menu on my site generated by code: <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-primary' ) ); ?> When I assign the menu called ...
0
votes
1answer
56 views

Any disadvandages if I style the wordpress align classes without img and .wp-caption prefix

In various WordPress themes the margins are only applied to elements when they are images or captions /* Images */ .alignleft { float: left; } .alignright { float: right; } .aligncenter { ...
0
votes
1answer
512 views

How to use the _S framework

I've previously done Tumblr themes and this is my first Wordpress theme. After initially starting out a theme from scratch I decided to switch to _S due to time constraints. My issue is that I may ...
0
votes
1answer
96 views

Custom colors for post rows based on post meta value

I'm trying to have the post background colors change depending on a meta value for the specific post type rather than using the post status. Looked everywhere and can't find a solution. (perhaps there ...
0
votes
1answer
151 views

Passing dynamic options from backend to frontend

I have created an admin options page (using the Redux Theme Framework), in which the admin can customize the website's appearance (text color, background color, background repeat options, etc.. ). ...
1
vote
1answer
173 views

How to add date to navigation bar

I've created a new navigation bar on this site: http://www.tomorrowstrends.com/ I'd like to add the date on the right hand side (on the grey menu below the blue one). I thought I could add this to ...
1
vote
2answers
151 views

two columns of posts on homepage, one of them “favorites”

I'm using a child theme of Twenty Twelve in wordpress. Here's where I am developing the site: http://internalcompass.us/castle/ You'll notice the two columns of posts on the homepage. I have one ...
0
votes
2answers
32 views

Are there any official or unofficial guidelines for the styling of a widget?

I've designed a sidebar widget and found that on many themes the widget looks fine. However, certain themes make the widget look out of place (clashing with colors, bad contrast, etc.) Are there any ...
2
votes
2answers
197 views

wordpress with many custom styled static pages

I am creating wordpress that constists of many many custom styled static pages. Some has tables, some has text+iages etc. - so each page has almost unique style with some commonalityes, of course. So ...
0
votes
1answer
444 views

CSS Classes (optional) on menu is not showing

As you know, there are input boxes for CSS Classes (optional) on each menus. But it's not showing (coming out) in source. Is there any function for disable for CSS Classes (optional)? I need to find ...
3
votes
1answer
69 views

Width 100%: Aspect ratio of image

If I add an image to a post, WordPress hardcodes width and height attributes to the img tag. I added max-width:100% to my CSS, but of course, if my browser window gets smaller, the resized image ...
1
vote
3answers
448 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?
0
votes
1answer
36 views

Which files can be replaced in a child theme?

I have a website which is using a child theme of Twenty Twelve. As part of the design process, I had to edit /twentytwelve/css/ie.css. Is it possible to save this file in my child theme, and keep ...
0
votes
1answer
42 views

how to make social media buttons start only from under a photo/post?

this is the website http://filldevoid.com/test/ i want the social buttons from under the post to start everytime under the photo, not on the right of the photo (cause it does that, where it has ...
1
vote
2answers
58 views

How do I add JavaScript that will execute on all my sites in Multisite?

We are creating an internal network of sites using MU and there are some small things we would like to have globally on all the sites without having to add them individually for each site. I would ...
-1
votes
1answer
48 views

Where to add the code for an outer container in a theme?

I have a Wordpress theme installed (SimplePress) and I would like to add an outer container to it, and I don't know exactly in which file should I add the code. This is the code I tried to use: ...
-2
votes
2answers
122 views

How do I add Javascript and CSS files into WordPress?

I have the following html code: <script src="js/jquery.vmap.js"></script> <script src="js/jquery.vmap.world.js"></script> <script ...
0
votes
3answers
648 views

JQuery undefined and Stylesheet loads in bottom along with js files

I'm developing a theme for wordpress and I'm using this function to enqueue scripts and styles function Joy_scripts() { wp_enqueue_style( 'Joy-style'); wp_enqueue_script( 'Joy-scripts', ...
0
votes
2answers
123 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: ...
1
vote
1answer
125 views

Output terms to post_class()

I am trying to output all terms attached to a specific post (including custom taxonomy terms) as CSS classes applied to a DIV Something like that : <div <?php post_class('class-name'); ...
0
votes
1answer
183 views

Internet Explorer ignore my css

I am creating my personal blog, but Internet explorer are ** me. About 5 hours I am trying to figure out what I am doing wrong, well what is my problem ? Well, I created breadcrumb for my website, ...
0
votes
1answer
71 views

Clickable image link sends people to wrong URL

On my website www.wilsonstransportation.com, on the header of our custome theme page, we have a "Get a Quote" image on the right hand side. When you click it, it is taking people to ...
0
votes
1answer
200 views

Multiple search template with separate stylesheets

I'm building a site which needs to have two search bars and two search results templates. One of the search bars is for regular posts, and the other is for a custom post type. I need the two search ...
0
votes
0answers
165 views

Add Div IDs dynamically to CSS

I am trying my best to convert this amazing design in a wordpress plugin, but since I am not a developer and a noob, I can't get my head around it. Background image can be added in the post loop with ...
0
votes
1answer
167 views

multi level menu not working and not displaying correctly

I have created a multi level menu with wordpress and no matter what i try the menu will not display correctly. here is the genereated menu <div id="cssmenu"> <ul class="menu" ...
1
vote
1answer
65 views

Placing assets for external use

I'm developing a plugin, that is meant to work on external requests to a wordpress site. The plugin will generate a .json file, and will come with 2 default .css style and 1 .css file that will ...
-2
votes
2answers
1k views

How to Add a Website Background Image to One Page?

What is the easiest way to add a background image to a single page like tryghost.org? I am currently running under WordPress and was wondering what code I need to add and where. The image is only to ...