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
10 views

Custom Menu Item Unnecessary Padding

I am trying to add a simple Back button to all pages on my WordPress site that are not the front page. The code is working and the functionality works but the link itself is adding some unnecessary ...
-1
votes
0answers
14 views

Simple CSS needed for alignment of WP Simple Paypal Shopping Cart

I have built a shop page using the WP Simple Paypal Shopping cart and everything has worked great so far as you can see in the livelink. However the product boxes are left aligned and the content ...
8
votes
3answers
12k 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() ...
0
votes
1answer
176 views

How to solve 'Eliminate render-blocking JavaScript and CSS in above-the-fold' content for multiple files?

I get this when I check my site in google insight: Pretty ok right? But I still consider to fix Eliminate render-blocking JavaScript and CSS in above-the-fold content to get a good results on ...
1
vote
1answer
54 views

Why does wp_enqueue_style() in plugin not load stylesheet?

I'm trying to load a custom stylesheet (for the front-end, not admin area) via plugin. As near as I can tell, I'm doing things the way the Codex says is correct, but my CSS doesn't get loaded. This ...
0
votes
1answer
27 views

wp_enqueue_scripts and CSS

I know wp_enqueue_script has the ability to have a dependency which is great. Now what if I can't give it one? What if all I want is for it to be the last script in the list of generated CSS ...
0
votes
3answers
512 views

How to detect and move all inline styles to the footer?

For some reasons, I need a function to detect all inline styles generated by theme options or plugins and move them to the footer and convert this snippet into a small plugin. Basically I need that ...
2
votes
2answers
378 views

Image resizing on home page (product category) [closed]

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
4answers
53 views

How to add a custom CSS class to ALL links

Is it possible to add a CSS class to ALL links generated from the HTML tab of the post editor? That is to have the part class='myclass" added automatically? <a class="myclass" ...
0
votes
1answer
34 views

Getting out side of wp root folder from function.php using absolute path

Hi Everyone I am having a relative path issue with linking a css file using a absolute path. Basically I am having the exact same problem as the person here however I do not want to use the URL of ...
0
votes
1answer
14 views

all images of past post messed up after changing theme

After I changed my wordpress theme, I realized that all past post are all messed up. I think is because the new theme is not interpreting "alignleft" the proper way. And I mean that because when I ...
0
votes
1answer
31 views

CSS Changes made, lost mobile functionality

I just have a question regarding a site that I'm working on, http://sportsentertainmentattorney.com/ My problem is, I made some css changes in wordpress using the edit css page, specifically these ...
0
votes
0answers
38 views

Can I make the bootstrap canvas wp theme non responsive

Help!! I am not a web developer but a designer and I understand small amounts of code... I have had someone half develop a website for me and I am wanting to finish it of myself as it was not ...
0
votes
0answers
18 views

Dynamic CSS for CPT that requires post meta data

I have an, admittedly weird, CPT structure. I have two CPT's, one is 'section' - which is basically meant to represent a tag in HTML - and the other is 'sectioned_page' - which displays user chosen ...
2
votes
1answer
30 views

Whats the safest way to output custom JavaScript and Css code entered by the admin in the Theme Settings?

I'm creating a theme in which I've created options for the admin to enter custom Javascript and Css code in the "Theme Settings" page (created using Options API). Now I'm just not sure how to output ...
0
votes
0answers
15 views

D3.js Wordpress-relative Fills

I'm working on a project that involves a chart created using d3.js. I was given the code from a 3rd party and now have to implement it into a WP environment. I've been able to get the chart to ...
1
vote
1answer
141 views

How do I add Bootstrap and LESS to my migrated WordPress site?

I'm migrating a website to WordPress - it uses both Bootstrap and LESS. I found a snippet online for enabling Bootstrap and the outputted CSS via functions.php: function theme_add_bootstrap() { ...
2
votes
4answers
3k 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" ...
1
vote
1answer
256 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
0answers
19 views

List Category Posts plug-in

I am new to using Wordpress and I have recently uploaded the plugin “List category posts”. I have placed the short code on my front page: [catlist name=News numberposts=6 thumbnail=yes ...
1
vote
2answers
2k views

wp enqueue style and style sheet depth

How could I add a style sheet at the bottom of the <head> tag, so if there´s a need to override some other styles added before, it will override. I heard something about wp_enqueue_style, and ...
0
votes
1answer
33 views

Controling css order

In my plugin I need to load css file after the standard style.css. I tried to do that with the priority paramter in the enqueue command but that works only if I modify the specificity of the ...
0
votes
1answer
73 views

Use wp_enqueue_scripts, not wp_print_styles?

Everywhere is said that you need to use wp_enqueue_scripts() instead of wp_print_styles(). wp_print_styles() is located in wp-includes/functions.wp-styles.php. So what does it mean? What should I ...
0
votes
1answer
186 views

Reduce white space in twenty fourteen

I have made a child theme of twentyfourteen. There is too much space between the left sidebar ("secondary") and the main content for my taste. But with the responsive design, there are many special ...
2
votes
5answers
4k views

Customizing wp-activate.php

Does anyone know how I can customise wp-activate.php? It wraps the content in <div id="content" class="widecolumn">, however in my theme the main wrapper is <div id="main"> Presumably, I ...
0
votes
2answers
64 views

404 Error while accessing the font files

Added a custom font as follows Uploaded web-font files and given them the 777 permission http://example.com/wp-content/themes/mytheme/css/fonts/ Added rules to the css file @font-face { ...
0
votes
4answers
7k 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 ...
1
vote
0answers
34 views

Wordpress problematic caching

I am looking at ways to optimize the speed of a Wordpress website and found that there is a css file containing a ridiculous amount of useless css and was contributing to the site's very slow loading ...
0
votes
2answers
52 views

Why won't my custom login page CSS load?

Hoping for some help here as I'm scratching my head. I'm trying to create a custom login page for my site which has gone rather well until I try to add in a custom CSS to make it look pretty. I'm ...
0
votes
1answer
87 views

There's an image named g.gif somewhere in my WordPress site

I am looking for this pixel which appears full width in my mobile site, so I want to remove it. Image URL: ...
0
votes
1answer
72 views

Theme Options Page - User Updates Logo

I'm a newbie to WordPress Development so bear with me. Site: https://wordpress-portfolio-zacnespral21.c9.io/ On the site above I would like to add an option in the themes options page for the user ...
0
votes
1answer
22 views

Two questions about CSSing inside the menus

First, I would be glad if u tell me how can I assign a class(css) to default span tag that include the links inside the menu, created by WP control panel. And second question is how to use @media ...
-1
votes
1answer
33 views

How to prevent page re-sizing for mobile browsers [closed]

I want to prevent my page resizing for mobile browsers, How can I achieve this? My style.css is added below. */ /*---------------------------------------------------------------------------------*/ ...
-1
votes
1answer
27 views

Help with responsive theme styling issue

I'm using a template that has been working fine but have discovered that once the screen size goes over 1200 pixels the images fall out of their grid arrangement. I can't see where this issue lies in ...
1
vote
1answer
35 views

Enqueue and Dequeue from admin bar nodes

I developed a few nodes under my custom parent node on admin bar. While navigating on frontend and clicking on one node I'd like to enqueue some css file. The url should remain. While navigating on ...
0
votes
1answer
48 views

How to reference a theme image in a stylesheet?

I have a global element as part of my theme and I need to reference and image as a background image. I need the URL to the image. I assume that it's bad practice to hard-code the URL and that the URL ...
0
votes
1answer
38 views

Theme twentythirteen widget area clearfix

I've put quite a lot of stuff on my widget area and now if the post is not long enough my widget area spills in the footer area as shown on the image below: Now, I'm not a designer, but I have been ...
0
votes
1answer
159 views

Why is this jquery / java script code not working in mobile / in devices?

I have following script in my header.php : <script type="text/javascript"> /* to show back the left side bar back when the LEFT side bar is moved next/below to the center/content */ ...
1
vote
0answers
119 views

why this media query is not working / not loading when I put it in child theme?

I am trying to create a separate style sheet for responsive behavior in a site. my folder structure: magzine/style.css magazine-child/style.css magazine-child/responsive.css Magazine is my theme ...
0
votes
1answer
46 views

How to implement CSS-defined images from bootstrap site in wordpress theme

I am making my own theme from a Bootstrap 3 site that I designed. How do I best implement images that I defined in the CSS in WordPress so that I can change them later and they reference the media ...
1
vote
1answer
37 views

TwentyFifteen: How can it show a different color on every post page?

I have made a child theme of TwentyFifteen. Am trying to set on styles.css of the child theme a specific color on every page or post. I tried somethin like that .post-id-no.id .hentry,.site-footer ...
0
votes
1answer
40 views

I would like to remove date display on photo preview

I have a web site and in the image preview of the posts, when I display images, there is a date displayed by the website and I would like to remove it. I've looked in the wordpress config but I ...
0
votes
1answer
21 views

Making a custom CSS per mobile

I have a wordpress site and everything looks the way it should on a regular browser. But now if i go to it in mobile it it there are certain sections that don't look right. Is there a way to modify ...
0
votes
0answers
26 views

Extract and amend variables from 'like' plugin and put into visual meter gauge plugin

I am trying to extract the total number of likes associated with different posts from the WTI Like Post Pro wordpress plugin, then subtract the number of unlikes and feed this total into a meter gauge ...
0
votes
0answers
56 views

How can I organize nav menu lists as columns in WordPress?

Here’s what I am having a hell of a time with. I'm working on a dev site (which is WordPress based) that can be seen here. You see the responsive navigation for the ‘Course Schedule’ section is ...
0
votes
1answer
32 views

custom css in one page

I am trying to add custom css to wordpress page. Which is trying to load an image from the gallery for some reason though certain parts of the css are not working. Not sure if this has to do with the ...
-2
votes
0answers
59 views

FlexSlider / Dazzling Theme - Bug [closed]

I have an issue with Dazzling Theme for Wordpress : On Google Chrome, when I reload my homepage (with F5), content is hidden by flexslider element. If I look in html/css I can see that : <div ...
-1
votes
1answer
73 views

theme injecting css into wp-admin

Some of the CSS from my theme is being used in wp-admin. For instance "Add New Page" on /wp-admin/post-new.php?post_type=page is coloured blue, which comes from my theme, as stated by Chrome code ...
-1
votes
1answer
38 views

Is it possible to make invisible a div only on certain pages using CSS?

I have a div with a unique id, and I need to make this div invisible but only on certain pages. Using only CSS is it possible a solution like this? #my_div{ display: inline-block; } #my_div ...
1
vote
1answer
195 views

Making WordPress Gallery (.gallery-item) Responsive?

Shortcode for Gallery: [gallery link="file" columns="5" size="medium"] I’m using a 5 column gallery on an inner page of a website, obviously when the site responds down to mobile and even tablet ...