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

Add logo to admin menu in my plugin

I want to add a simple piece of code: <img src="logo.png"> to the top of the admin menu. I know how to do it if I am just replacing a logo within an already existing class but there is no ...
0
votes
0answers
30 views

Max Height Scroll Issue

I am pretty new to coding in general and have no extensive knowledge in how to correct the problem I am having, if anyone could help that would be greatly appreciated. I am currently finishing off ...
0
votes
0answers
40 views

WooCommerce Products Not Displaying in Grid

I'm using WooCommerce with a WordPress theme that hasn't been written to be compatible with the plugin. For the most part I have the CSS working so that the shop looks okay, but I have run into ...
0
votes
0answers
47 views

Display two divs in a row in the Twenty Fifteen theme [Solved]

The front page of my Twenty Fifteen child theme is divided by a plugin in two columns (do not consider the sidebar). In the left column I try to show the content of two divs in a single row, one with ...
0
votes
2answers
56 views

How to remove automatically added <br class=“clear” >

I'm creating one wordpress template. Required information added in wordpress header.php, footer.php and everything was fine. Then i added one page. But while viewing the page there was a small problem ...
0
votes
1answer
35 views

Publish button inside custom field group

Is it possible to move the publish button out of the publish metabox, completely remove the metabox and then put the publish button inside the custom field group? Ask if you need more information, I ...
0
votes
1answer
19 views

Move both sidebars more to their sides [closed]

this is the link to my website https://www.shockinpoop.com/. I want to move both the sidebars more to their sides of the page because as you can see, they each leave a considerable amount of space on ...
0
votes
0answers
29 views

Change in the admin stylesheet files doesn't seem to influence the admin area

So I want to customize the admin area in wordpress, including the admin toolbar and the admin menu. But no matter what I do it seems to have absolutely no influence on the admin area. I have a ...
0
votes
3answers
30 views

Stylesheet won't load even when linked

I don't know what I'm doing wrong here. I created a page with accordians, the jquery script loads just fine but when I link the CSS stylesheet, no CSS shows up. It is not an external stylesheet, I ...
0
votes
2answers
29 views

Clients website shows blank page [closed]

For some reason, my client's website is blank. After some debugging, I realized that all of the colors have been changed to #FFF. What would be the best way to recover the site? Method #1 I install ...
0
votes
0answers
11 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
vote
1answer
87 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
4answers
61 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
44 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
16 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
32 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
51 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
19 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
42 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
17 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 ...
0
votes
0answers
20 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 ...
0
votes
1answer
36 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
2answers
117 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 { ...
1
vote
0answers
35 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
63 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
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 ...
0
votes
1answer
198 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 ...
0
votes
1answer
87 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
223 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
votes
1answer
35 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 ...
0
votes
0answers
24 views

CSS not displaying

I found function for numbe pagination but when I trying to view the CSS thru Inspect element, the CSS for that pagination is not displaying. Even If I change the CSS style, its not working. How to ...
0
votes
1answer
76 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
48 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 ...
1
vote
1answer
42 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
87 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
127 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
295 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
168 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
55 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
45 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
43 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
23 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
27 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
73 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
36 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
71 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
81 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
41 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 ...