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

0
votes
0answers
22 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
28 views

displaying an onclick overlay [on hold]

I'm wanting to add a onclick overlay to my wordpress site located at A1cleaningservicesnw An example of this I have found is located here. when you click on one of the portfolio images it loads up an ...
-1
votes
0answers
16 views

Several pages not stretching to full width [on hold]

I'm using the Bbpress plugin to create forum pages, but I have an issue where the forum pages are not stretching to their full width. Here's am image to demonstrate: I know this isn't a problem ...
0
votes
1answer
26 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
23 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
33 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
13 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
31 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
27 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
15 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
9 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
36 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
32 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
91 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
28 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
23 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 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
44 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
26 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
19 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
40 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
35 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
69 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
28 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
27 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
25 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
26 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
38 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
210 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
20 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
78 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
28 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
52 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
60 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
65 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
9 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
47 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
18 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
77 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
19 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
30 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
36 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
19 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
37 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
24 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
47 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
45 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
77 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 ...