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

What in current WP is interfering with embedded videos?

We use Wistia as a video hosting provider and have used their services for 4 years with zero WP displaying issues. An example of the embed code is below: <script charset="ISO-8859-1" ...
3
votes
3answers
72 views

How to add 'class' attribute into shortcode [audio]?

I would like to style two MediaElement players on the same page differently, and figured out the easier way to do this (compared to adding a completely new shortcode and enqueueing a new stylesheet, ...
1
vote
6answers
16k views

How to add custom css file in theme?

Some themes ask you not to edit the style.css file, instead use custom.css file. If you write code on custom.css, it will overwrite the same element style in style.css. I think this is done in order ...
1
vote
1answer
54 views

Is it possible to ignore the first Line Break in a preformatted Div from a shortcode?

I created a shortcode of [pncode] that lets me enclose some programming syntax and apply some styling. Notably, it preformats the text and makes it monospace (full CSS below, if it helps). In the ...
0
votes
0answers
21 views

CSS and JS includes are staying HTTP after changing site to HTTPS

i have setup an SSL cert for my domain and its working correctly for everything other than wordpress. All other PHP apps are working fine, but i cant seem to get wordpress to include any CSS or JS ...
0
votes
1answer
34 views

Free theme and css/bootstrap.css is not overridden in the child theme

Why is wordpress still using the bootstrap.css from the parent theme, whenI have a child theme which (successfuly for other things) inherits the parent theme? I have the bootstrap.css settled in the ...
0
votes
2answers
22 views

How to add style in functions.php depending on conditions?

I'm a newbie for coding, I would like to learn how to add css style conditionally in functions.php My header controlled by .header-outer class. What would it be the best way to add css depending on ...
0
votes
0answers
28 views

Is there a way to export text from Word to Wordpress with HTML tags but without attributes?

I developed a Wordpress blog which has it’s own CSS styles. For each blog post I import text from Word 2010 to the blog editor, but this imports Word styles and forces me to spend a lot of time on ...
0
votes
1answer
37 views

Highlight parent if item from submenu is active

I have a menu, but when I go to the submenu page, the parent of this submenu is not highlighted. How to do this? When it doesn't have a submenu, it works fine: My menu structure is: <nav ...
0
votes
1answer
43 views

Keeping my Sub Menu open when hovering on its list items

I'm building a custom theme from scratch and I'm stuck on this dropdown styling. I am able to have the sub-menu appear when its containing <li> is hovered but when I go to transition my mouse ...
0
votes
2answers
39 views

Stop Plugin from Getting Styles from Other Plugin

My WordPress plugin uses Chosen Select and is supposed to use the css file at my-plugin/assets/resources/chosen.min.css. Unfortunately, when another plugin also uses Chosen Select, my plugin has a ...
0
votes
0answers
15 views

Two column Dropdown for WordPress Toolbar

This started out as something seeming 'easy' but I'm stumped. I've created a plugin which removes all of the nodes from the WordPress Toolbar then adds three new parent nodes. One of the parent nodes ...
0
votes
0answers
24 views

Dropdown menu on custom theme not working

I am trying to create a dropdown menu for a theme I am developing but the sub menu items are showing up in the alongside the parent menu items. I have it saved as a submenu item here is what it ...
0
votes
1answer
27 views

WordPress Register Style Called Incorrectly

Why am I getting this error? Notice: wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or ...
0
votes
1answer
33 views

Using two stylesheets for mobile compatibility

I'm building a theme from scratch and I want it to use a different stylesheet for screens below a certain width, for mobile compatibility. I used this method in header.php to call the appropriate ...
7
votes
4answers
13k views

SSL Breaks Wordpress CSS

We purchased an SSL certificat from network solutions (would never recommend them to my worst enemy, btw). Apparently it's activated... did a few checks that says it's activated for our domain. But ...
0
votes
1answer
26 views

Remove Archive | from Categories

Can Archive | be removed from the title of each category, either by CSS or core code change? At the moment it shows as "Archive | My Category Name", I just wish it to show as "My Category Name" I ...
0
votes
1answer
29 views

Hide title in Merlin Theme on posts and pages only

I'm trying to figure out how to hide a post and page titles while on the specific post or page, but NOT throughout the entire site. I've tried hiding the .entry-title class, but that hides titles ...
0
votes
1answer
35 views

WP Media Uploader modal conflicts with Bootstrap modal

I was creating a form in a Bootstrap Modal to allow users to create new posts from the frontend. Everything seemed alright until I wanted to upload a file to the media library or choose one already ...
6
votes
1answer
4k views

Enqueue a stylesheet for login page and make it appear in head element

I try to style the login page in my theme. Very simple: add_action( 'login_enqueue_scripts', function() { wp_enqueue_style( 'TEST', get_template_directory_uri() . '/css/login.css' ); }); ...
0
votes
0answers
17 views

How do I redefine wm_navigation() or wp_logo() within a theme that uses hooks?

What I want to do: Move the title of my website from it's current location to be in the "menu" div so that it is to the left of the menu/page list. Demo page: http://aaronmoore.me/visartsassignments/ ...
0
votes
1answer
20 views

WP theme update causes child theme CSS problems

I have WP website with a child theme installed which I use for css editing. But, after the last update of the WP theme, I noticed little (but annoying) changes in the appearance of my site (for ...
0
votes
1answer
38 views

How to add first and last CSS class for Woocommerce layered nav widgets

I need to add first and last ccs class for woocommerce_layered_nav widgets. // Add "first" and "last" CSS classes to woocommerce_layered_nav widgets function widget_layered_nav_first_last_classes( ...
0
votes
0answers
26 views

Different header images on loading vs refreshing

Why when loading my website in the browser I get one size picture in the header and if I refresh with f5 I get a different one(zoomed in) even if the window size stayed the same. Best seen when the ...
1
vote
2answers
40 views

Different excerpt styles per category, but chronological

I want to have different sized previews for different kinds of work I've done. Say 100x100px for regular stuff, but 200x200px for a bigger project. I figure I can use category to sort, and I know how ...
1
vote
1answer
33 views

Show post in slider

I am working on wordpress project .I want to show the post details in such away that the first four post thumbnail would show on the top and show the content of first post below, after clicking on ...
1
vote
2answers
58 views

Responsive Images Warping

I'm using HB Themes Aegaeus theme and it's great except for the fact that one of the shortcode elements (hb-box) is resizing the images. (Obviously, automatically resizing site elements to fit a ...
1
vote
1answer
26 views

Wordpress wp-admin suddenly lost its style

NB: I originally posted this on SO, but I was recommended to try here - sorry for the duplicate! I'm really baffled about this. In the last couple of days (since I was using the site last), my ...
1
vote
0answers
29 views

Child Theme with multiple css files

I know this is a frequently asked question but I don't resolve it. I have make a child theme of a theme with multiple css file and I'm trying to copy them but I probably don't enqueues css files ...
1
vote
1answer
52 views

How to get javascript slider to work! [closed]

I've only just started to develop my own themes and i'm stuck adding javascript to my slider. I've added the slider into my index.php file as below: <div class="carousel"> <div ...
0
votes
1answer
68 views

Enqueue style for Password Reset page

I've enqueued a style for my WordPress login page like so: function login_stylesheet() { wp_enqueue_style( 'custom-login', plugins_url( 'style-login.css', __FILE__ ) ); } add_action( ...
1
vote
0answers
334 views

Why isn't “background-image: url”working with Bootstrap carousel on WP?

When I made a Bootstrap carousel in plain HTML it was working just fine, but when I pasted the code into Wordpress the carousel is completely white. It's not a problem with the path because it will ...
1
vote
0answers
13 views

Remove margin from CSS gradient color code

I'm trying to use a CSS gradient code within a container that has a border and 30px margin, but this code is filling the margin space too. I want the margin to be left out of the gradient. I tried ...
1
vote
0answers
47 views

Custom styles dropdown in TinyMCE editor - not working with headings

I've added a custom style dropdown to the TinyMCE editor, but cannot get it to work with headings (h1, h2, etc..). I highlight plain text, select the style from the formats dropdown, and the text does ...
-2
votes
1answer
15 views

Add Quicksand for mobile devices

I am using Quicksand from Google Fontsfor my portfolio site. When I look at the site on mobile devices the font is not Quicksand. When I resize screen on desktop the font is correct but as soon as on ...
1
vote
2answers
30 views

Wordpress Multiple Navigation bars

This is more of a 'Is it possible question" I have a home page which has a full width header and a transparent Navbar, when you scroll this Navbar changes to white. On all my other pages I want this ...
-4
votes
2answers
33 views

Content expands beyond its column container [closed]

everyone! I was wondering if anyone would be able to tell me how the content in my center column is able to expand its allowed container size and push my right column/widget area to the bottom? ...
-2
votes
1answer
477 views

How can I insert a disclaimer in a Wordpress site?

I am trying to look for a way to enable me to insert a disclaimer into the footer of my website. I am using wordpress to power my website. Is there anyway I can make a page link at the bottom? <a ...
1
vote
2answers
268 views

show/hide div with simple jQuery script [closed]

I want to show/hide contents by using radio buttons on a WordPress page. When a user clicks on the radio button with label "red", the corresponding div with the class "red" needs to show up. Here's ...
0
votes
1answer
48 views

How can I add this specific link hover effect to a WP site? [closed]

How can I use this css effect on a WP site ? I've tried all kinds of copy paste, but this doesn't get me anywhere. I'm kind of new to Wordpress and css, so I pretty much have no clue what to do. ...
0
votes
1answer
27 views

Twentyfifteen style author comment

I am using twentyfifteen and I have made a child theme. I am trying to style author comments differently than visitor comment. In other words I want the author replies to have a black background. ...
0
votes
2answers
82 views

How remove the white space between my menu and slider?

This is my site http://185.105.4.132/~orangeye/ When I scroll down, a white space appears between my menu bar and slider. how do I remove that? This is what I have done to place the logo at the ...
0
votes
1answer
136 views

Custom Plugin - CSS works, JS doesn't

In the plugin I'm making, I use separate js and css files (____.js, ____.css). This is the first time that I've included an external .js file in anything. I'm registering and enqueueing both in the ...
1
vote
2answers
358 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 ...
-2
votes
1answer
37 views

Using Easy Google Fonts correctly and Droid Sans on Max OS X [closed]

I have Easy Google Fonts working along with my API key entered. However, it doesn't seem to be working. There is no fallback in my font list and I following settings the font to display in ...
0
votes
0answers
11 views

Full-width content - image gellery

I want to use this image gallery The technical part worked, but I can't use the full width in the content-area. Here is the link I use the visual composer. There I can tell "stretch Row and Content" ...
1
vote
1answer
42 views

css hide all the comment reply links except the lowest nested comments

I understand different themes use different css for the reply link however there should be enough native WP css to narrow it down to the lowest nested comment. I'm trying to get my head around the ...
-4
votes
1answer
38 views

How do I link the side images?

This is my site: http://classichits.ie/ I want to link the background image to another page. This is the code I have so far: body.boxed-layout { background-image:url(<?php echo ...
0
votes
1answer
33 views

HTML5/CSS3 Polyfill for wp-login.php

As a result of my customizing of wp-login.php, using HTML5 (e.g. placeholders etc.) and CSS3 (e.g. various selectors), I would like to polyfill for older browsers. Does WordPress, by default, have ...
0
votes
1answer
40 views

How to echo custom styles in css format?

I'm usually do dynamic-style.php file for making dynamic css codes from theme options, shortcode, customizer and all others. But, you may already know it'll slow down our site speed. I would highly ...