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
vote
1answer
22 views

How does wp_enqueue_scripts work?

I have a WordPress page for my table tennis club. There is a site with all the current standings and I want to parse a table from it to one of my wordpress pages. I created a dynamic table with php ...
-3
votes
1answer
15 views

Keeping Div in the same position relative to another Div [on hold]

I have a wordpress site which I am developing a couple images and figcaptions for. I am currently having trouble keeping my figcaption and transparency effect in the same position relative to the ...
-3
votes
0answers
15 views

How to change Mobile navigation bar in Genesis? [on hold]

I am using eleven40 pro child theme for Genesis Framework. Here is current navigation bar:- http://www.slondeals.com I want to change the mobile navigation bar (dropdown menu) to (left side menu) ...
-1
votes
0answers
22 views

How to use Stellar.Js jquery plugin in wordpress

I have been searching for a proper jQuery plugin that does parallax effect on almost all devices and it seems like stellar.js is considered one of the best. I have been having trouble implementing it ...
1
vote
0answers
21 views

Radio buttons live refresh in the customizer

I've added a new section in the customizer with a radio button setting with three options. The new setting adds a CSS class to the site header. Everything works as expected except the live refresh in ...
-3
votes
0answers
20 views

background-image not working properly in css [closed]

I have uploaded the image to the server. Image address is http://localhost:8080/wordpress/wp-content/uploads/2016/07/radio.png And I have used this CSS : background-image : url('http://localhost:...
-1
votes
0answers
15 views

Visual composer 5 columns layout [closed]

I am trying to use a 5 column layout using visual composer. I have clicked the custom tab and entered 1/12 + 2/12 + 2/12 + 2/12 + 2/12 + 2/12 + 1/12 and left the first and last column empty. But the ...
-4
votes
0answers
18 views

How do I get rid of this annoying update bar!

I have tried everything to get rid of this notify bar, and I can't get rid of it. It even shows up to regular users which is annoying. Please help!
-3
votes
2answers
26 views

How to hide the logo in wordpress using media query

I have 2 different logo in the WordPress site(light-logo and dark-logo). light logo will be visible when the navbar is transparent and dark logo will be visible when the navbar gets white background. ...
-1
votes
0answers
5 views

Target child of alternate <article> [migrated]

This is more of a CSS question, but I will add it here since any underscores developer might have encountered it. I have a index page layout as: <article> <div class="xyz">...</div> ...
-1
votes
1answer
33 views

Prioritize visible content - Page speed issue on Google insights

I'm new to wordpress and i tried to speed up the site, but i got some error please see the image. I used w3 total cache,autoptimize and Above The Fold Optimization plugins. But still site is slow on ...
-2
votes
0answers
35 views

To remove css code in source code of my website

I have installed Slicknav Menu plugin on my wordpress site ali-coupons.net. Now, when I go to the main page of my site and run a source code, i see a part of this plugin's css code: <head> ...
0
votes
1answer
40 views

How can I add the Post ID to Class Name in Jquery?

In the custom Wordpress theme archive page, I will have Sharing icons for all the posts. Below is the HTML for showing Sharing icon: <span id="post-share-<?php the_ID(); ?>" class="post-...
-3
votes
0answers
13 views

Comments Are Overlapping into Submit a Comment Field [on hold]

Woocommerce product comments/reviews are overlapping into my 'leave a review' field. Pic: http://i67.tinypic.com/348ixcg.jpg What I have done is added margin-top: 200px; to the 'leave a review' ...
0
votes
1answer
7 views

Issue Enqueueing Wordpress style.css

I'm beginning the frustrating process of migrating an existing site over to a wordpress theme and have run into trouble immediately. For some reason that I can't pinpoint, my style.css theme is not ...
1
vote
2answers
42 views

Remove wp_add_inline_style

Is there a way to remove styles added with wp_add_inline_style? I noticed if I call wp_add_inline_style multiple times, it just keeps adding style, it does not overwrite what was added before. The ...
0
votes
1answer
35 views

none of my css is working in my child theme

I have the latest versions of WordPress and Zerif Lite installed. I have not altered them. I made a directory in the themes folder called zerif-lite-child. I made a functions.php file. The code in the ...
-5
votes
0answers
22 views

How to change color on a tag active?

Below is not menu, it is block which I want to change color when user clicked on it, but I can't do it. My CSS .itemList li.current_page_item a{ color: #BBB; background: #FFF; } ....
-1
votes
0answers
17 views

Theme with “custom css” field - changes are never saved

I am clueless. I am saving custom css code into my theme's "enter your custom css"field, I save it, and when I refresh the page everything is gone. At first I thought it was just a caching error: ...
-4
votes
1answer
22 views

Add a “Next Post” & “Previous Post” styled button manually to a post

Can anyone walk me through the exact steps? I want to create two buttons that sit next to each other at the bottom of a post for the NEXT and PREVIOUS posts...I want to be able to insert this ...
-6
votes
0answers
29 views

Content problem

I have problems in displaying content on my WordPress blog. When I used the the_content function this happened: I tried to wrap it up in divs and paragraphs but nothing worked it still overflowed. ...
3
votes
1answer
64 views

Can't get staging site to display same way as live site. Completely stumped

Background I have a situation that's been driving me up the wall. After many hours (more than I'd like to admit), I've been unable to solve it. So I am thinking there must be a better way to go about ...
0
votes
1answer
42 views

Where to find the html for Wordpress site? [closed]

Where can I find the HTML for a Wordpress site? I'm using the "X" child theme. I found a tutorial explaining how to achieve an effect that I want and it says that "All I need is an HTML markup and to ...
0
votes
1answer
27 views

Will too many overridden css rules lead to performance issues

I am customizing the avada theme for my needs. Since the theme gives many options to style the fronted via its admin panel, I have to write many lines of simple css code for custom elements etc. Based ...
0
votes
1answer
32 views

Custom Woocommerce Category view

I'm kind of new to wordpress development and I'm trying to make a plugin so I can show all the categories I have in a list. The Idea is to customise the default view Instead of the default list: I ...
0
votes
1answer
42 views

Converting HTML to Wordpress theme: integrating pages function and using its text editor, conditional enqueuing

Recently I attempted to convert my static HTML to a Wordpress theme but to no avail. I was able to understand how to separate my code for my header, content, and footer, and I integrated the header ...
0
votes
2answers
32 views

My stylesheets are not enqueuing

I'm in Wordpress 4.5.2 on Windows 10 and I'm trying to register and enqueue my stylesheet in Wordpress, but it just isn't working. I'm having the same problem with jQuery. I have this code in a ...
1
vote
1answer
58 views

What is better way to use Bootstrap inside admin panel?

I need to use Bootstrap CSS for better UI in wp-admin but if I enqueue the bootstrap.css, it's affecting the admin default UI by changing background colors, etc. How can I use bootstrap.css inside wp-...
0
votes
1answer
46 views

Need help removing […] after excerpt

My website is watersedgeofshelton.com and i need help removing the [...] after the excerpts on the blog posts (under activities, marinas and restaurants" I read that I had to add this code to my ...
0
votes
1answer
32 views

how to modify a <textarea> field's size in a metabox : ROWS height, and scroll control?

I'm stumped by being unable to find a way to do some really basic adjustments to the textarea in my custom metabox. Looking at a default Wordpress Post Admin screen, the Tags metabox is a single-line ...
0
votes
2answers
25 views

Change Background Color For CPT Template

Please help. Anyone knows of the proper way how to change the background color for a custom post type template only? Using chrome's inspect, I saw that my theme uses the ID of "#main" for all the page'...
7
votes
4answers
698 views

How to add CSS class to custom logo?

I enabled custom-logo for my theme and have it printed with <?php the_custom_logo(); ?> into the header. Is there any chance to simply add some more classes to this image directly? Per default ...
0
votes
0answers
21 views

disable inline css

Is it possible to block the use of inline styles and on-page blocks of CSS in the editor? I don't want to block the use of SVGs and other clever stuff but I just want to prevent someone from adding ...
0
votes
1answer
31 views

Dividing the loop to style post differently

I'm using a plugin that displays post and shows them in a certain area on my site, such as the sidebar or anywhere i put the <?php;?> code, but only if the author that is writing the post clicks ...
1
vote
0answers
44 views

wp_add_inline_style breaking style and not working

i have an option field where i save custom style and use wp_add_inline_style to output. But it does not work as expected. Suppose i have .fep-some-class > div but if i see source code of my page i ...
0
votes
0answers
45 views

Css and js loading from the primary domain but i have sub nginx

I have a primary domain (example . com) and 3 subdomains (site1. example. com, site2.example and site3.example) WITH NGINX, but when i loading in subdomain url , i see in source code it was loaded css ...
2
votes
1answer
44 views

Why isn't my theme processing SASS?

It's my understanding that Wordpress now processes SASS files but for some reason mine don't work. I'm trying to call it using wp_enqueue_style directly in header.php via the head tag: <?php ...
0
votes
0answers
21 views

Creating a custom sidebar section - adding widgets causes “Errors”

http://www.new.techmoney360.com/keek-provides-updates-on-peeks-product-launch/ - is an example of the work I'm doing right now. An example of a sidebar area I'm tying to achieve http://www.vice.com/...
2
votes
1answer
83 views

Understanding child theme functions.php

I have successfully created a child theme for the Emmet Lite template, using the information provided on here and here The CSS file of the child theme looks like this: /* Theme name: Emmet Child ...
-1
votes
1answer
42 views

Bootstrap navbar-fixed-top issues [closed]

I am using a Bootstrap navbar-fixed-top and I have added this css to drop it below the admin bar: @media screen and ( max-width: 782px ) { .logged-in .navbar-fixed-top { margin-top: 46px; } } ...
3
votes
1answer
182 views

Editing the custom background CSS

I have added the add_theme_support( 'custom-background'); function to my functions.php but the CSS which will be added to the wp_head isn't the way I want it to be. <style type="text/css" id="...
0
votes
0answers
25 views

How can i make my child theme editable by html and css?

I want to edit my child theme with CSS and HTML. Ideally i would like to edit my child theme files on my computer and then through filezilla make the changes to my website, but nothing is happening. ...
1
vote
1answer
20 views

Different post styles depending on category

I am using Zephyr theme The link to the blog page. I want to style each post differently based on the post category ex: social media, announcements ect. I would like to style them using a cards ...
1
vote
3answers
48 views

What controls responsiveness in Wordpress?

I am testing a WP install along with a custom theme made by third parties. The theme per se is responsive, however in some situations, at particular resolutions, parts of the page will be blank ...
-1
votes
1answer
17 views

How can I get rid of the distance when I'm using list-style-type: none? [closed]

I am using the following code (output html) to get my comments displayed. But there is a space because of the list-style-type: none; I used. How can I get rid of this? This is the fiddle
0
votes
0answers
15 views

Why are the author and the date not displayed next to the avatar in comment section?

I got the following code: jsfiddle.net/xg0waxL7 In this Fiddle it looks good but the problem is that WordPress displays just the bottom comment like I want it: prnt.sc/b7yaq6
1
vote
1answer
37 views

How create a Shortcode with hover and complex options

I am wondering how do you do when you have to create a shortcode with multiple hover or complex options ( gradient, boxshadow etc, thing that can't be inline ). How do you generate the css. I don't ...
-1
votes
2answers
47 views

Get post format and use it as a CSS class in different spans

I use a <span> inside the loop and I would like to get each post format the post is containing as a class in separate spans. Example: If the post format is video and private: I would like to ...
-1
votes
2answers
32 views

Load files content [closed]

I would like to load a css file in my Wordpress plugin by php. First I tried file_get_contents: $stylesheet = file_get_contents(plugins_url('assets/css/fonts.css', __FILE__ )); But than I get this ...
-1
votes
1answer
21 views

Adding logo to Wordpress header

I want to add a logo to my header for a website im building, where in this code would I put the image URL? The theme im using in Bones. <!doctype html> <!--[if lt IE 7]><html <?php ...