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

jQuery accordion menu

So I have just started developing a theme with _s (underscores) as a basis. For three days straight (almost) I have been trying to make an accordion menu sort of like this: Example: ...
0
votes
2answers
41 views

Relative post date in recent posts list

I have basically worked on this all night and I realize I am quite stuck. I have a sidebar in my wordpress theme that displays the most recent posts. The sidebar looks like this: Below each title ...
0
votes
1answer
25 views

TwentyFourteen Theme : Changing grid layout

I have been plugging away making my new site and it is going great with only one issue so far. How would I go about changing the featured posts grid so that instead of displaying 3 featured posts per ...
0
votes
4answers
692 views

How to activate the child theme in Wordpress?

I create a new style.css and use it in child theme. And I create a new folder in wp-content and name it as themename-child and upload the style.css that I created. Now, I go to wp dashboard -> ...
1
vote
2answers
162 views

Multisite domain mapping breaks CSS

I have set up a multisite (sub directories) and all my plugins/CSS was working fine. Then I added domain mapping and managed to point a domain example.com to a site ID 4. All still working fine. ...
24
votes
5answers
22k views

best way to overide plugin CSS?

currently, I use CSS specificity to override plugin styles. I prefer this to editing the plugin as it makes for less headaches when you update. What would be nice is if my style sheet loaded after ...
1
vote
3answers
2k views

Child themes CSS priority problems without using !important

I changed my WordPress site to use child themes, but the parent theme style has priority over any change I make on the child theme CSS. I can work around it using !important, however this is a patchy ...
0
votes
1answer
52 views

LESS not working in WordPress [closed]

How to run the CSS preprocessor (LESS) in WordPress? I'm trying to apply LESS in my child theme. I create variable.less and place it in the child theme folder css/less/variable.less and I call this ...
0
votes
1answer
27 views

How can I add a class to particular paragraphs in my post?

The effect I'm looking for in the end is to have the first line in some paragraphs bolded. These would be the first paragraph of each section in my post. This kind of effect is used on this ...
1
vote
1answer
2k views

wp_enqueue_style with style.php and Wordpress functions

I use wp_enqueue_style to add my stylesheet, like this: <?php wp_enqueue_style( 'theme-style', get_template_directory_uri() . '/style.php', false, '1.0', 'all' ); ?> It works fine BUT I need ...
-4
votes
1answer
41 views

WordPress Custom Fonts Problem! [closed]

I added custom fonts on my website! Its based on Genesis Framework.More then 15 days web fonts show every where,suddenly fonts missing but i checkout my fonts link and fonts deceleration on CSS its ...
-3
votes
1answer
26 views

Hiding site title for Twentyfifteen sidebar on (responsive) desktop display size

I'd like to hide the site title that appears on the sidebar on a twentyfifteen theme WordPress website when viewing it in a desktop display, but have it show when the display is fitted for mobile or ...
2
votes
2answers
3k views

Theme Customizer - Dynamic CSS PHP File

I've recently switched over from using a custom class to enable a theme options panel to the built in Theme Customizer in Wordpress. All is going fairly well - I've got live preview working but I'm a ...
0
votes
0answers
19 views

Wordpress functions in CSS?

I'm developing an audio player plugin and I'm trying to figure out how to make the links work on any install. I've used wp_enqueue_style('player', plugin_dir_url( __FILE__ ) . ...
-2
votes
1answer
32 views

How to echo css class for a link? [closed]

I am trying to add a css class to this link in a plugin I am using. The plugin has the following code - echo "<a href=\"" . get_permalink() . "\">"; The css class I'd like to add is ...
-2
votes
1answer
43 views

Create decorative image border with CSS? [closed]

I'm trying to create a custom border style for several images on a website (building in WordPress.) Is there a way to get the style shown below with pure CSS? (i.e.: trying to add the dark green wavy ...
0
votes
1answer
33 views

Set a link in child theme style.css to jump to #main [closed]

I have created a 2013 child theme by creating these 2 files - /wp-content/themes/twentythirteen-child/style.css: @import url("../twentythirteen/style.css"); .site-header .home-link { ...
0
votes
1answer
45 views

Woocommerce Product page edit

I am making a webshop with every category on another page. That's all done, but now I want to edit the view of the pages. So what you get for every product is: product image, product name, product ...
0
votes
2answers
79 views

Displaying theme options in css

I am literally pulling my hair out trying to figure this out. I have been at it for almost 12 hours now. Being new to PHP and theme development I am having a hard time understanding how to get ...
-1
votes
1answer
43 views

What is The Best Way to Make Parallax header effect for wordpress theme ?? pure CSS or using JavaScript? [closed]

I'm new in wordpress theme development, I want ask some question here, I want to make a parallax effect for my theme header like this: TestParallax.com this is made by using some JS code, I want to ...
0
votes
1answer
35 views

active link for most recent post on vertical tabs

I'm trying to add the css class .is-active to my vertical tab links inside my loop. By default, the page loads the most recent post first. How can I make most recent tab/post active with .is-active? ...
0
votes
1answer
37 views

add div after image in post [closed]

I want to give my photos a special style such as this link "CSS3 Hover Effects" For this, I must add a div after any image link in any post What should i do For this style ? I am using Hueman Theme ...
0
votes
0answers
11 views

why does Wordpress custom css convert alpha to hex values?

When I use the custom css functionality in wordpress jetpack I find that sometimes when saving that it will render my rgba values as css...WHY?!?!?! text-shadow: 0 0 0 #cac5c5 1px 1px 0 #484646 2px ...
0
votes
0answers
9 views

Woocommerce variants CSS targetting issue

When a user is not logged in, they will not see certain things. I've accomplished this with a php/css hack in header.php <?php if (!is_user_logged_in()): ?> <style> ...
0
votes
0answers
9 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
86 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
63 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
22 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
37 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
24 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
51 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
78 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
40 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
31 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
28 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
14k 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
28 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
33 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
64 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 ...
7
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
46 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
45 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
38 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 ...