Tagged Questions

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
votes
1answer
28 views

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

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: ...
-1
votes
0answers
9 views

Need to get homepage slideshow to be responsive for mobile and tablets [on hold]

I have a project that requires responsive design for mobiles and tablets. This is how the desktop version is supposed to look and this is how the mobile version is supposed to look. I'm using ...
-2
votes
0answers
22 views

How do I use 'category-specific' colours in my theme? [on hold]

The theme I am using (Multinews) comes with the ability to assign colour schemes to entire categories, so that all posts within that category take on the colour scheme that is assigned to that ...
0
votes
0answers
21 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
15 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" ...
-1
votes
0answers
14 views

How to have text automatically scale to container width and height? [on hold]

I'm having a problem developing a new e-commerce website for a client. Basically, I need help making long product name text resize to fit the container that it is displayed in, which is fixed for ...
0
votes
0answers
15 views

Different css font styling when a positive number is present in the HTML table using PHP&CSS [on hold]

Description On my front page I have a HTML table with 6 custom post types stats. The name of CPT and total number of published posts are in the first and second column and today registered posts in ...
-1
votes
0answers
12 views

How to change the stylesheet of a widget

I am trying to change the color of the text in a plugin (a widget). How do I find, unregister, dequeue a plugins/widgets stylesheet and add my own?
0
votes
0answers
37 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
votes
0answers
37 views

How to know the conflicting css [on hold]

Is there a way of checking what css is conflicting my plugin and theme because my css theme somehow is conflicting my plugin css. The theme css is overriding the plugin thus breaks the design of my ...
0
votes
0answers
13 views

Styling Jetpack comment form? [closed]

I'm trying to change the font size of the Jetpack comment form to 16px because on iphones when you enter an input form the browser zooms in and makes everything look weird. I read that changing the ...
-4
votes
0answers
19 views

WP Plugin will not apply styling [closed]

I've recently installed the Ultimate Social Deux plugin and I am having some problems styling it. If you go to www.diginomics.com/blog/ and look in the sidebar under "Get Social" you will see a few ...
1
vote
0answers
24 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
6 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
27 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
26 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
53 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
23 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
24 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
18 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
21 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
29 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
156 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
14 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
73 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
27 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
45 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
53 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
56 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
8 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 ...
0
votes
0answers
38 views

Why are my parent styles loading after my child styles?

I am trying to build a child theme that uses SCSS. However, every time I make changes and recompile my stylesheet, it gets overridden by the parent stylesheet. This is because, in the head of my site, ...
0
votes
1answer
15 views

Child Theme Changes Are Not Reflecting In Parent Theme

So I've recently moved my Wordpress.com blog to Wordpress.org. I was using a Child theme via a Plugin and changed a bunch of the CSS, but when looking at the parent theme, nothing ever changed. No ...
0
votes
1answer
51 views

How to get DEFER or ASYNC attribute to appear when I add a stylesheet with wp_enqueue_style from a plugin? [duplicate]

Almost all of my CSS and JS resources can be postponed with an ASYNC or DEFER tag added to the resource. This may improve performance of my page load times considerably. However, I don't know how to ...
0
votes
2answers
18 views

How to use scss in wordpress theme?

What is the easiest way to use scss? i Tried the wp-scss plugin but it doesnt seems to work for me: In my theme: root: css -> style.css scss -> style.scss settings for scss and css location ...
0
votes
1answer
28 views

Why isn't my link attribute getting my css?

<link rel="stylesheet" type="text/css" href="style.css" /> That is the line I am using. The style.css file is in the same directory as the file I am running that from. Tt specifically just ...
3
votes
1answer
34 views

Hiding certain panels in dashboard

I want to hide certain panels in the dashboard, for example the Excerpt panel. This metabox has an id of postexcerpt. Is it a good idea to simply add some CSS rule like #postexcerpt { display: none } ...
-1
votes
1answer
24 views

Menu is not styled properly and footer as well [closed]

Here I want to remove bullets that is before the menu. Here is my wordpress code for that menu : <ul class="templatemo_menu"> <li> <?php wp_nav_menu( array( ...
0
votes
0answers
18 views

Random text changing to weird icons in both admin & front end

Has any body had this sort of problem before. The text mainly in input field descriptions turns to weird icons see image. I have deactivated all plugins and changed themes several times but same ...
0
votes
2answers
35 views

Overwriting forced wordpress CSS styles [closed]

I was thinking of putting this on the wordpress stackexchange site but it has to do more with CSS then Wordpress. However unless I have to go into some plugin css files to customize the css then I ...
0
votes
1answer
19 views

Wordpress address URL and bloginfo

I have updated my Wordpress Address (URL) and Site Address (URL) to be https:// in the General Settings of Wordpress as I have added a secruity certificate to the hosting. Should the css url ...
2
votes
1answer
46 views

Limit function to specific post category

I have a function that wraps images in a custom div. It's placed in functions.php and modifies all posts. I'd like to know if there's a way to only apply it to posts in a certain category. Here's ...
0
votes
1answer
40 views

User gets access denied to css files and js files even though user is logged in [closed]

We are using wordpress as a intranet, we have the AD Integration plugin. Everything is working fine except for one user. Now there is no difference in settings on his machine or user profile or AD ...
0
votes
1answer
66 views

CSS styling of native (inbuilt) wordpress thumbnails [closed]

I really hope someone will be able to help me with this as it should be really simple but I am struggling! I am working on the 'native' or inbuilt wordpress thumbnail gallery (not a plugin). I want ...
0
votes
1answer
34 views

Simple/basic use of get_current_screen

I would like to load a stylesheet on only 3 admin pages: post.php?post=7&action=edit post.php?post=10&action=edit post.php?post=18&action=edit I was trying with admin_enqueue_script ...
0
votes
1answer
25 views

Is it possible to be more page/post specific with admin_enqueue_script?

I am using this code to load a stylesheet in the admin, but only on post.php related pages: function my_enqueue_for_post_pages_only($hook) { if( 'post.php' != $hook ) return; ...
4
votes
2answers
54 views

How to edit an existing WordPress theme? [closed]

I've been hired to modify/update/change an existing WordPress theme. The site is already live, and I'm wondering how to work on the theme locally first.
0
votes
2answers
87 views

How to use my style.css file outside of wordpress subdomain?

I am building a wordpress theme from scratch on a subdomain and I want to use the same CSS files across my entire site. My problem is linking my wordpress PHP files (which are on the subdomain) to my ...
0
votes
1answer
101 views

Make a vertical dynamic list of posts in alphabetically order and in columns [closed]

I have a page that lists all the posts from a given category of an custom post type dynamically. I do this with a plugin that list posts and a shortcod and with css i created 9 columns where they are ...
0
votes
1answer
46 views

Active menu item / category

I was wondering if there's any way to discover which categories are "active" on a category archive page. This is for the purpose of menu highlighting. To demonstrate, compare these: (1) Parent ...