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
13 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
0answers
14 views

Sub-menus are not visible [on hold]

I tried adding sub-menus from the menus option on the left hand side. But in the theme it shows only one sub-menu. Why its not showing other submenus ?
0
votes
0answers
15 views

How to add a horizontal line at the bottom of the top menu? [closed]

One small question again popped up, how to add a horizontal line below the menu ? I tried putting hr tag in header.php inside & above the main div tag and also tried to change the color of it in ...
0
votes
1answer
12 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
0answers
15 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
66 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
votes
0answers
21 views

Youtube video inside image frame responsiveness

I have a site and i want to make it responsive as much as possible, i have an image frame around video and using smartphones the video gets smaller but not its frame. Below is my code /*This ...
0
votes
0answers
14 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 ...
1
vote
1answer
41 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
16 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
23 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
31 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
30 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 ...
0
votes
0answers
12 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 ...
-1
votes
0answers
10 views

[CSS]How to move position of widget on category page

Test site: http://www.neo2tech.com/shop-4/ The location of the filter/category sort is on the right side, however, on the category pages: ...
0
votes
0answers
30 views

Manipulate a <p> element via add_filter / function.php [closed]

I would like to add a class to the following <p> tag: /** * Add Checkbox to checkout form */ function AddCheckboxToCheckoutPage() { $checked = get_option($this->GrOptionDbPrefix . ...
0
votes
0answers
24 views

Pages in another language

I am trying to translate this page of my theme to Portuguese, but I can not find where is the files to translate. Link: http://novine.com.br.siteseguro.ws/lojakazola/lounge/ Text: (by admin. Posted ...
0
votes
1answer
32 views

How to make Wordpress using local CSS/Fonts/Scripts only

For people in remote places with a bad internet connection, working on Wordpress stuff becomes real horror, not to mention : expensive! Switching to a simple theme with no external dependencies ...
0
votes
0answers
25 views

Seeing multiple CSS versions

I've tried Googling this, but I've no idea how to fix this. I am not versioning my CSS and yet I constantly see this versioned CSS and it makes all the styles show up twice and it's really frustrating ...
0
votes
1answer
37 views

Hide button based on PHP result

This is what i am trying to achieve but i am not sure how: I would like to check if a specific post is published or not If it' not published, it should hide a specific button and show a different ...
0
votes
1answer
17 views

Centering items in a row, when you don't know how many items [closed]

I have the following custom query which outputs a set of items inside a container. <div class="container-hotel"> <?php // The Loop if ( $venue_query->have_posts() ) { while ( ...
0
votes
1answer
37 views

Active page link not getting class assigned

I'm having problems with one of my menu items on http://itsnwa.com/ - When you enter the site, 'Work' should be bold and underlined, the same happens if you go to '50mm', but on 'Findings' this ...
1
vote
1answer
49 views

Customizing default Mediaelement player

Good morning/afternoon everyone. Been playing around with the default wordpress mediaelement player and definitely loving it. I managed to customize the layout a little by overriding some css values ...
0
votes
0answers
34 views

How to add automatic remove links/href from image for wordpress post

I have in the function.php own css style but I need to remove links automatic add_filter('the_content', 'add_image_responsive_class'); function add_image_responsive_class($content) { global ...
0
votes
0answers
17 views

changing genericon in featured post plugin

I'm trying to hack into the featured-post feature in twentyfourteen and change a few things around... one being the genericon used for the slider-control-paging. In the original css the whole ...
-1
votes
1answer
68 views

Change sidebar product category text color (woocommerce) [closed]

I have woocommerce shop set up here: http://museiam.ca/shop/ I am trying to change the color of the category texts to black in the left sidebar, however I've been unsuccessful so far even trying ...
1
vote
1answer
48 views

Override img class in gallery

I use Wordpress for AngularJS as backend (wp-json plugin ) and actually what I made as structure for the theme looks like myApptheme -style.css //nothing special here just inits the theme ...
-1
votes
1answer
154 views

W3 Total Cache: Load CSS asynchronously for better PageSpeed score? [closed]

I'm using W3 Total Cache to minify about 15 CSS files, and also to minify 20 JS files and load those asynchronously in the footer. Running my site through PageSpeed gives me the following message: ...
0
votes
0answers
32 views

woocommerce.css throws off style.css background urls

In the style.css of my theme root I include a background image, like this: background: url(images/image2.png); All works well, but when I move a copy of the woocommerce.css into myTheme/css the ...
0
votes
1answer
28 views

How do I use inline styling with WordPress?

I would like to be able to add a background image to the header area on each inside page of this site. On a static page I would do something like this: <header class="entry-header" ...
0
votes
0answers
55 views

css to disable on desktop computer BUT enable on mobile device

I've installed a notification bar on my site however I would like to make my notification bar disable on desktop computer view but enable on mobile device only. I just want my notification bar ...
1
vote
0answers
30 views

admin_enqueue_scripts the same css file as wp_enqueue_style

I am using sass and grunt to merge and minify a number of scss files and using wp_enqueue_style to load the single minified css file which works fine. I have also merged the scss for the admin ...
0
votes
0answers
33 views

Op-tin bar hide sticky header when scrolling the page

As you can see in this link http://marketingilluminated.com/ At the top the op-tin bar hides the sticky header when you scroll in the page. I would like to know if there's a solution to keep them ...
0
votes
1answer
45 views

adding a favicon to site2 - site1/site2/favicon.ico

I have a setup on wordpress with site1 and site2 under site1. I'm having problem on favicon on site2 because site2 favicon uses the favicon for site1. i have a code on my header.php inside site2 ...
0
votes
1answer
39 views

Wordpress Caption Formatting

I'm trying to create a custom wordpress theme. Everything has gone fine, except image formatting in post content. Image captions are not displaying properly in newly created theme. I have already ...
1
vote
2answers
73 views

Child Theme files - what is needed?

On child themes: It is stated: ... create a file called style.css. This is the only file required to make a child theme. Then, it states: The correct method to import the parent themes ...
0
votes
1answer
31 views

Load slideshow.css file only if Slideshow is checked / on

I use <?php if ( get_option('mytheme_slider') == 'checked') { get_template_part( 'partials/slider/slider-java-script' ); } ?> to include the slider-java-script.php template part into my site. ...
1
vote
1answer
31 views

How to enqueue a random css style?

I want a random CSS style file to load on my site with each page view so I can play with colors backgrounds. So I put all my styles in a folder, I named them 1.css, 2.css, etc. and I have added: ...
0
votes
0answers
33 views

Wordpress Dashboard not loading CSS?

My site's dashboard used to work fine. I logged on this week after about a week without logging on, and noticed that the stylesheet for the admin dashboard is not loading. In the console I see a 404 ...
0
votes
1answer
29 views

Custom CSS no getting applied

I have a WordPress theme that I created, but for some reason in my template header, some of the styles I have declared are being overridden somehow. When I inspect in Chrome some of those elements are ...
1
vote
1answer
50 views

How to disable CSS rule in Twentythirteen style.css?

I have the following situation: I have implemented a plugin ChessTempoViewer that displays a chess game in a Wordpress page. This plugin is working well in the themes 2010, 2012, 2014 but not in ...
3
votes
2answers
275 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
28 views

Wordpress GZip, Concatenation, Compression

I appreciate that I can define each of the following in wp-config.php and that each has its own merits, but is there any sense in defining all to work together? Compress CSS Compress Scripts ...
1
vote
2answers
88 views

Efficient way to edit WordPress themes

I've been editing my WordPress theme templates and CSS manually, in Notepad++, using Firebug to inspect and tweak elements and Filezilla to upload the modified CSS files to my web server. But it seems ...
0
votes
0answers
31 views

Color Picker - Manipulate CSS

So i've been able to hook everything up to my theme options, the color picker now works and correctly manipulates certain piece of CSS, so that is all working. What i'm asking now is if there is a ...
0
votes
1answer
69 views

Color Picker - Theme options

I've been creating a Theme off my own back just teaching myself about the in's and out's of wordpress API. Firstly this place has been of great use to me! Now for the question, recently just ...
0
votes
2answers
67 views

Hide a Menu Item on Login

I am using the following code to hide a menu item when a customer is not logged and show it when a customer is logged in. .hide-item-not-login{ display: none !important; } .logged-in ...
1
vote
1answer
78 views

Deregister CSS style file from WP footer

When user is logged in WP add in its footer this CSS: <link rel='stylesheet' id='open-sans-css' href='//fonts.googleapis.com/css?family=Open+Sans....' type='text/css' media='all' /> That ...
0
votes
0answers
12 views

how to get 100% height in wordpress admin panel

I am working on a custom admin panel for my plugin, and I am never getting 100% height no matter what I do. here is the css i used #container { margin-top: 20px; height: 100% !important; ...
0
votes
1answer
22 views

Style Switching

Any tips or tricks on how to get a website to show a different stylesheet when you click on a menu item? What I want is one link to load a green css style and the other links keep the default style ...