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
0answers
16 views

Following Web Performance Optimization techniques to output static and dynamic css

I have always felt the way styles are handled in WordPress is not optimal regarding the web performance optimization (WPO) techniques that are related to css. From a theme developer point of view, ...
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
0answers
368 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
49 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 ...
1
vote
0answers
32 views

CSS_Menu_Walker not showing on mobile view?

I found this example on perishable press. My menu works fine and all the submenu items display properly. For some reason, when scaled below 769px, it disappears. I figure it's CSS, but I can't make ...
1
vote
0answers
23 views

Customizr Sticky Header Problem

I am working on a Wordpress site, using the theme Customizr, and I am having some problems with the sticky header. When the sticky header option is activated, there is a great blank space between the ...
1
vote
0answers
62 views

Hide/show content starting in the middle of a paragraph

I need to be able to hide/show arbitrary content (paragraphs, lists, maybe pictures) based on a user clicking a link. This is easy enough, but I am running into a lot of problems trying to add this in ...
1
vote
0answers
53 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 ...
1
vote
0answers
563 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 ...
1
vote
0answers
68 views

admin_enqueue_scripts the same css file as wp_enqueue_style

I am using sass and grunt to merge and minify a number of scss files and using wp_enqueue_style to load the single minified css file which works fine. I have also merged the scss for the admin ...
1
vote
0answers
217 views

show count is out of the anchor tag in wp_list_categories

I'm using wp_list_categories with 'show_count' enabled on that, i styled my <a> tag, but the category count doesn't show up under anchor tag.(it's under li) $args = array( ...
1
vote
0answers
45 views

t5-fresh-editor-stylesheets.php breaks image placement in WP Beta 3 editor

I am running a development site with the WordPress beta plugin, currently running 3.9 beta 3 I am using Bill Erickson's Core functionality plugin which calls Toscho's t5-fresh-editor-stylesheets.php ...
1
vote
0answers
71 views

How to remove default style of header in wordpress metabox

I have the problem which when I create a header in my wordpress plugin metabox, it always apply the default style on my header: even when I apply, my own style, <h3 style="background-color: ...
0
votes
0answers
40 views

Ideal inline dynamic CSS injection

There is a code in here that dynamically load custom script. <?php function my_styles_method() { wp_enqueue_style( 'custom-style', get_template_directory_uri() . ...
0
votes
0answers
22 views

How to stop printing header, footer, sidebar and other items (Tesseract theme)?

My screen pages look fine. All elements on a page look like they will print on one page. When the page prints, the header, menu (drop down), footer, social media icons at bottom (also showing link ...
0
votes
0answers
26 views

How to include jQuery UI smoothness theme - without conflicting with Contact Form 7

After copying the following HTML-code from jQuery UI selectmenu example into my twentythirteen-child/front-page.php file: <form action="#"> <fieldset> <label ...
0
votes
0answers
12 views

Post style in custom wordpress theme

I've made up a custom WordPress theme. So far everything went quite smooth but now I want to update the blog and the styles selected in the backend don't show up at the front. For example: I center ...
0
votes
0answers
21 views

How to use the built in response image feature?

I've noticed that Wordpress now automatically includes responsive image support, the problem is I have no idea how to use it. I'm working on a design and in that design there are 3 columns that ...
0
votes
0answers
11 views

Click to expand menu

I have the following menu in Wordpress: https://jsfiddle.net/L3y2rno8/ (renderd HTML) The menu is using a custom walker in my theme functions.php: function wp_nav_menu_attributes_filter($var) { ...
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__ ) . ...
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
8 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
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" ...
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
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
25 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
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
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 ...
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" ...
0
votes
0answers
19 views

how to add description in custom photo wordpress, from front-end

I have an item block in fron-end, with it i uploud custom images, i want to add short description, that will look like this
0
votes
0answers
30 views

Custom Post Type category nav isn't highlighting active category

I used Types from wp-types to create my custom post type. I have category archive pages and individual post pages set up. The category navigation is highlighting the active category like it's supposed ...
0
votes
0answers
22 views

Return a css class in functions.php snippet (WP Job Manager)

How can I trigger a CSS login lightbox when clicking on the "sign in" button on the following page (Wordpress Demo)?: http://workscout.in/post-a-job/ This is the CSS class that I found: <a ...
0
votes
0answers
14 views

Redirect Page Directly to Category without showing empty page?

(showing navigation menu on top) to open up a blog within my site without the user even knowing he went to a page.Normally I would just create a page with a link in it, but I think an entire page is a ...
0
votes
0answers
12 views

Trouble figuring out slider for post containers

There is a section on the site I'm working on that loads 4 containers that are links to posts. I need to add functionality that allows you to scroll through more containers in the section by clicking ...
0
votes
0answers
31 views

How to get WordPress to accept the <style> tag in articles (or other alternatives)

WordPress (i.e. TinyMCE) automatically strips the tag from articles in newer version. This means, you can only rely on inline CSS which makes the code ugly for more complex styling options and is ...
0
votes
0answers
9 views

Colouring the text on the video

I am using the Listify theme and I want to change the colour of the text on homepage video. Below is my code in which I have video and text [video width="1280" height="720" ...
0
votes
0answers
19 views

How to make an item appear in page 2?

I will keep it short. I created this menu under shop page to sort my product by popularity, price..... not the primary navigation, Just something I made through CSS Well since I created it inside the ...
0
votes
0answers
31 views

Remove “<?php” tag at the beginning of the file

I'm developing a WordPress plugin and I have a php file that is being used as a CSS file. The php file is being loaded through the wp_enqueue_style function, like this: ...
0
votes
0answers
31 views

Decrease vertical space between dropdown items w/o changing menu height?

Trying to decrease the vertical space between menu items in a list styled as a dropdown menu but having trouble doing it w/o decreasing height of navbar. To see current setup, click here and wait a ...
0
votes
0answers
53 views

site-title to logo image

So question is following i am working on this website and i need to put a logo which i uploaded inside the header where the title is as text ..problem is ..i tried fiddling with header.php and ...
0
votes
0answers
18 views

Custom menu problem

I have following menu coded under header.php and i want to add an page under a category menu as an example instead of 36 (category id) i want to display the page id 8197 P.S. i tried to remove the ...
0
votes
0answers
36 views

How to make hidden css menu fold out anywhere on the page?

This is a css question. I'm implementing a pure-css hidden menu. I have adapted it so the trigger button hovers as one scrolls down the page, but when one clicks the hover button, the view jumps back ...
0
votes
0answers
21 views

How to neatly list categories on a page

How would I go about and get something like this? All I find is how to list it with wp_list_categories ('orderby=name&amp&show_count=1&title_li='):
0
votes
0answers
21 views

long time charging page with woff fonts

I need to improve my charging page time. I saw that the problem is about woff fonts that take long time (about 15 sec). How can solve it?
0
votes
0answers
27 views

Getting text align: left to work on an excerpt for Ultimate Posts Widget for Wordpress

I have been attempting to text-align my excerpt in a widget titled "To-Do List" on the left sidebar. I have attempted to turn the excerpt text to display text-align left but it is not working. In ...
0
votes
0answers
44 views

How to prevent overlapping of two divs?

I have a page, when i am looking this page on a laptop screen the two divs are rendering properly but when i am looking this page on mobile screen these two divs are overlapping above each other. I ...
0
votes
0answers
23 views

How to alternate (flipped css) when displaying a list of posts?

I have a list of posts that look like this (simplified for question): [] Cat 1 ... Title1 list of posts 2 3 4 5 [] Cat 2 ... Title1 list of posts 2 3 4 5 [] Cat 3 ... Title1 list of posts 2 3 4 5 I ...
0
votes
0answers
19 views

Is there any way to turn off a particular scrolling behaviour?

I'm not sure that this is a wordpress behaviour, but it seems to be. On certain blogs, when I scroll using either arrow keys or trackpad, it scrolls in a much jumpier way than the default behaviour. ...
0
votes
0answers
13 views

Stop responsive widgets realigning on website

I've been trawling the net but can't find a lot. Essentially my website is using the customizr theme with site origin page building blocks to create it what it is. I'm trying to stop the widgets (2 to ...