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
2answers
369 views

Remove id attribute from stylesheet link

Right now I'm serving up my own custom stylesheet. // register main stylesheet wp_register_style( 'custom-stylesheet', get_stylesheet_directory_uri() . '/library/css/main.css', array(), '', 'all' ); ...
4
votes
2answers
8k 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() ...
1
vote
1answer
765 views

Using PHP to toggle stylesheet and header image, set in cookie

I haven't done a lot of work with cookies or Wordpress before so I think I've been a bit over-optimistic in my quest :p I have created two themes for my site, night and day. I would like the user to ...
-2
votes
0answers
16 views

Custom CSS option on thesis framework is not working [on hold]

I am using the thesis framework Version 2.1.9. I am using the Flatisfy Skin. The Custom CSS option provided by the skin is not working. Plus the CSS option in Skin Editor is not working too. Any ...
0
votes
1answer
37 views

Add attribute to link tag that's generated through wp_register_style?

My original question was answered here: Google Fonts giving: No 'Access-Control-Allow-Origin' header is present on the requested resource. Is there a way to add the data-noprefix attribute to my ...
0
votes
0answers
12 views

What is wrong with my blog post text? [on hold]

On my blog post page, the text is getting completely botched up in the posts. If I enter the actual post and view just that one, then it is fine, but if I am actually on my blog post page (the one ...
5
votes
2answers
7k views

Versioning @import of parent theme's style.css

Context I built a child theme based on Twenty Thirteen which works quite well. After updating the parent theme to version 1.3, I noticed strange behavior with the styling which was caused by a cached ...
0
votes
0answers
26 views

How can I pass a variable from PHP to LESS?

I used LESS auto compiler in my theme (I followed this tutorial) to precompile my LESS files into CSS in my theme (yes, I wanted to avoid using external plugin like WP-Less because I wanted to have ...
0
votes
0answers
11 views

Adding Custom Fields/editing description css in NextGen Gallery

Hello I am currently trying to build a vehicle selling page using wordpress & The Nxt-Gen Gallery. I am currently using the shortcode below to include the description underneath the thumbnails. ...
1
vote
1answer
20 views

How to use Japanese characters for a single page

I've been asked to produce a single page on a client's Wordpress site that has a Japanese translation of key paragraphs from the site. The straight copy and paste from the translated text in a Word ...
0
votes
0answers
7 views

Why don't my dropdown menues in the widget look the same? [closed]

I am trying in vain to format my widget so that the dropdown menues look the same. Both of them should be 100% width. What in the world is the reason that they don't do it? I want "select country" to ...
1
vote
3answers
1k views

Remove sticky behavior from top navigation on twenty fourteen theme?

In wordpress theme twentyfourteen, I am wondering how to remove the sticky behavior of the top navigation with a 100% width header background image like this site? I would love to have a top image ...
0
votes
0answers
9 views

Avoid wp-load.php within a PHP/CSS file? [duplicate]

There was a similar question already but it uses ajax, and I am not. I want to have dynamic css in my theme, but I can't get the WP functions to work in my php/css file. In my functions.php file, I ...
2
votes
2answers
311 views

Wordpress image resizing on home page (product category)

I have been working on resizing the images on my wordpress website, the images are not appearing on equal sizes or not aligning properly. But inside the product pages it looks normal size but in the ...
0
votes
0answers
12 views

WooCommerce Consistent Category Product Grid Div Height [migrated]

I have been racking my brain for a while trying to figure out how to have a consistent height on product divs in the WooCommerce category pages. It all boils down to the character length of the name ...
0
votes
1answer
22 views

Problem adding class to body_class

I am trying to add additional classes to <body> based on certain conditions, so I have this code in my functions.php file of the theme : add_filter( 'body_class', 'custom_body_class' ); ...
0
votes
4answers
2k views

All 3?: Responsive resizing of images + image width of actual image for small images + max-width for all larger images

What I'd like to achieve is to have images resize responsively – and for that I have to set 'width: 100%' – and at the same time set a maximum width to not have the image as wide as the content. To ...
0
votes
2answers
338 views

Creating a second menu on Twenty Eleven aligned right from the first

I'm a bit new here. But I did attempt to Google this (etc.), without much luck. Basically, I'm trying to set up a second menu on Twenty Eleven that will line up to the right of the normal one (while ...
0
votes
0answers
16 views

Show Sub-Menu when main menu is hovered over

I am trying to make a sub-menu show when the main menu is hovered over. What I did is made both menus show on all pages, then added this CSS: Note: walking-menu is the sub menu, main-nav is the main ...
0
votes
2answers
3k views

How do I make the sidebar bigger in twenty twelve?

I am new to WP with little knowledge of code. I am using Twenty Twelve and have managed to create a child theme (minus the header image for some reason). One of my widgets does not fit into the ...
0
votes
1answer
38 views

Load specific js & css based on class or ID?

I noticed that there are many tutorials on how to load specific JS & CSS for a specific page. The problem I have is that sometimes my plug-ins load on specific posts and specific pages. I cannot ...
0
votes
2answers
75 views

The correct way to include JavaScript and CSS in my WordPress Themes

I'm trying to build my own Wordpress theme using the correct ways. But... The first trouble that I found was how to add css and js "using the correct way". I found severals tutorials how to do it. ...
0
votes
1answer
27 views

What Generated Classes and IDs That Is Always Used On All Themes?

Just wondering if there is a way to get a complete list of wordpress generated css classes and ids that is always automatically assigned to any themes. I've read here, but it seem not list them ...
0
votes
1answer
32 views

With over a page of content the footer remains where the bottom of the screen was at top scroll

I've been building an artist website to promote my music and I've ran into an obstacle with my footer. What I want is very simple (or so it would seem). I'm trying to create a footer that sits under ...
0
votes
2answers
303 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
30 views

checkbox function not working for dropdown menu

I have created a dropdown menu that shows when a checkbox is clicked. It works perfectly outside of wordpress see JS Fiddle - http://jsfiddle.net/s7w2ueah/ however when I add it into my WP theme ( ...
0
votes
1answer
32 views

Best way for overwriting plugin css with custom one

I've to do very little changes to bbPress (forum plugin for wordpress) for a customer, at all about 5 lines css only. But I'm not sure where is the best place to put this css code. Modify the original ...
0
votes
3answers
299 views

How to activate the child theme in Wordpress?

I create a new style.css and use it in child theme. And I create a new folder in wp-content and name it as themename-child and upload the style.css that I created. Now, I go to wp dashboard -> ...
0
votes
1answer
82 views

current-menu-item class not working

current-menu-item class not working for particular menu in my theme, My css code is .mainNav ul li a { color: #686868; font-size: 14px; height: 38px; line-height: 38px; display: inline-block; ...
0
votes
0answers
30 views

full screen image/video on front page, then scroll down for menu and site content

I am having trouble locating a plugin or finding out how to create only for the home page, a feature that will have a full screen image or autoplaying video, but when the user scrolls down the rest of ...
0
votes
1answer
19 views

How to change hover color on bulk-action-selector-top and bottom on wordpress admin?

i want to change this hover color i tried via css: #bulk-action-selector-top{ color:#FFF; } but this not working. How to change it? thank you
4
votes
5answers
2k views

Remove top admin bar

whenever admin or any other user logs in a top bar menu ads up. Now I made login for everybody, so I do not want this bar. First I added display:none to admin-bar.css, but the main problem is that ...
1
vote
1answer
20 views

How to link theme fonts directory in WordPress CSS?

So I installed WordPress locally and I'm on theme-development. I'm having a problem in linking my font files in my CSS. Is there any alternatives or best practices on how to link font files in a theme ...
0
votes
1answer
14 views

Conditionally print css style in Wordpress

I posted this on Stackoverflow and as suggested I am reposting it here if thats ok. Didnt knew there was a Wordpress section of the site :) I am working on a Wordpress theme and want to give the ...
0
votes
4answers
248 views

Hide Front-End Admin Bar Including 32 px Spacing

I have a custom template and I inserted the following snippet to get rid of the admin bar for the page: function hide_admin_bar(){ return false; } add_filter( 'show_admin_bar', 'hide_admin_bar' ); ...
0
votes
1answer
20 views

Display different css or Information based on previous page

I've run into a bit of a tricky problem that I'm probably over thinking. I need to be able to display different css depending on what campaign page the user has come from. To better illustrate: ...
0
votes
2answers
615 views

Display ajax preloader for large images within posts

Our WordPress installation runs only images within posts. Generally medium, lightweight images but we are also publishing larger images, sometimes gif animations which take enormous time to load. ...
0
votes
2answers
723 views

How Do I Add Images To Main Navigation Menu

I have a navigation menu but I need to be able to have background images with multiple states. There would be a background image for the multiple link states: normal, hover, and current. What is the ...
0
votes
0answers
56 views

unable to edit css after use of Moesia theme

I am new to wordpress and I had made a small site that worked fine with my child-theme of twenty thirteen. Then I tried to use another theme called Moesia but after a few hours I just wanted to switch ...
0
votes
4answers
235 views

Theming Using Bootstrap Glyphicons and WordPress Dashicons

I use a mixture of both Bootstrap Glyphicons and WordPress Dashicons in my WordPress themes. However, something which really bugs me is how the WordPress Dashicons don't seem to scale appropriately ...
1
vote
1answer
46 views

Stylesheet comment header: Which header names are mandatory? [duplicate]

I've always used the same comment header names in my style.css document. Theme Name, Theme URI, Author etc. For example: /* Theme Name: Example Theme URI: http://example.com Author: John Doe Author ...
0
votes
0answers
23 views

How to concatenate parent theme CSS-files from within a child theme?

In the parent theme I use there's a bunch of CSS-files (all enqueued properly) that I would like to concatenate into one CSS-file, and also adding my newly written CSS from the child theme. I would ...
0
votes
1answer
735 views

Theme Customizer - Dynamic CSS PHP File

I've recently switched over from using a custom class to enable a theme options panel to the built in Theme Customizer in Wordpress. All is going fairly well - I've got live preview working but I'm a ...
0
votes
0answers
21 views

BuddyPress display css on xprofile fields

I've been searching for hours now and I can't seem to local a very specific action involving Xprofiles. What I would like to achieve is having an xprofile field with a dropdown option that changes the ...
0
votes
1answer
33 views

Preventing PHP Execution in Parent Theme

I have set up a child theme to make custom changes to my site without having them erased every time I update. One change is to remove a wrapper that displays the title of the page with a lot of white ...
0
votes
1answer
33 views

How to style text in Wordpress

I have recently moved to using Wordpress from Joomla and everything has been good apart from one niggling issue. When I go to edit text, I can't select much in the way of styling, only the actual ...
1
vote
1answer
39 views

Is there an earlier hook than login_head or login_enqueue_scripts?

What I have: A basic plugin that enqueues a style-sheet and JavaScript file to modify the log-in forms. The logo, colour scheming and other styles are affected. My problem: As the /wp-login.php ...
1
vote
1answer
4k views

How do I cleanly override a plugin's CSS with a child theme?

I have taken it upon myself to adhere to WordPress conventions so I can have a clean, sexy child theme. However, I am unsure how to proceed on a certain issue. I would like to override the CSS for ...
0
votes
0answers
23 views

How to add CSS3 attribute background-size support in Custom Background

I'm trying to add support for CSS3 attributes background-size, background-clip and background-origin, in the custom backgrounds. To do so, I've modified the fully-background-manager plugin (a very ...
0
votes
1answer
866 views

header.php-tweak: How to do that getting Meta-Slider into the header-center?

update - the header.php in question: question is: where to add the new line <?php echo do_shortcode("[metaslider id=36]"); ?> at the moment i do not know where to add.... <?php // Exit ...