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
9 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
votes
0answers
10 views

Simple CSS needed for alignment of WP Simple Paypal Shopping Cart

I have built a shop page using the WP Simple Paypal Shopping cart and everything has worked great so far as you can see in the livelink. However the product boxes are left aligned and the content ...
0
votes
0answers
13 views

How do I update the styles.css to underline the link if the mouse hovers over it? [on hold]

I'm trying to edit styles.css for my current theme. I want any link to be underlined if the mouse hovers over the link. Does anyone know what CSS I would alter to do this?
0
votes
0answers
13 views

How to make Twenty Fifteen elements full-width in Internet Explorer?

The TwentyFifteen Demo site displays a wide left margin for the sidebar & wide right margin for the primary content panel in Internet Explorer 11. I was trying to figure out how to change the ...
7
votes
3answers
12k views

TinyMCE: adding CSS to format dropdown

I successfully added a TinyMCE stylesheet using add_editor_style() so that I can preview the styles in the body of the TinyMCE editor. However, am I right in assuming that the add_editor_style() ...
0
votes
1answer
96 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 ...
0
votes
0answers
8 views

How to put image on my button “Dodaj do koszyka”? [closed]

How can I put this image on "Dodaj do koszyka" button background on this page. Can u give me css code?
1
vote
1answer
36 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
26 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
3answers
474 views

How to detect and move all inline styles to the footer?

For some reasons, I need a function to detect all inline styles generated by theme options or plugins and move them to the footer and convert this snippet into a small plugin. Basically I need that ...
2
votes
2answers
371 views

Image resizing on home page (product category) [closed]

I have been working on resizing the images on my wordpress website, the images are not appearing on equal sizes or not aligning properly. But inside the product pages it looks normal size but in the ...
0
votes
1answer
382 views

Twenty Fifteen : Wider right column for the content

I'm using the theme Twenty Fifteen on my offline site. I want to make a wider column for the content (the right column highlighted in blue here). I don't want to have a smaller sidebar. I tried to ...
0
votes
4answers
46 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
25 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 ...
-2
votes
0answers
9 views

Taking HTML and changeing it to CSS for plugin [closed]

I am wondering how would I write this code in CSS instead of HTML. I am using WordPress and this plugin I want to change the wording that shows up in the table (unlimited, 365 etc) so I asked the ...
0
votes
3answers
457 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 -> ...
0
votes
1answer
18 views

How to make divs the same height as the tallest? [on hold]

I have a loop grabbing the thumbnails, titles and excerpts from the most recent posts and displaying them on the homepage in a column format. I want to make the div that contains title of each post ...
0
votes
1answer
26 views

Why is the page alignment out in responsive view on tablets? [closed]

This isn't strictly a WordPress problem, but it is a problem happening with a WordPress site and I'm getting desperate for an answer. I'm building a custom theme and am having a problem when it comes ...
0
votes
1answer
11 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
2answers
3k views

How do I make the sidebar bigger in twenty twelve?

I am new to WP with little knowledge of code. I am using Twenty Twelve and have managed to create a child theme (minus the header image for some reason). One of my widgets does not fit into the ...
0
votes
1answer
30 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
2answers
376 views

WooCommerce: Can't change / style button colors

I'm trying to change the colors of my buttons from a default reddish color to something more pink. So I go to my child theme and insert the following code: .woocommerce a.button.alt, ...
0
votes
0answers
27 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
17 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
25 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
9 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 ...
1
vote
1answer
348 views

How to add date to navigation bar

I've created a new navigation bar on this site: http://www.tomorrowstrends.com/ I'd like to add the date on the right hand side (on the grey menu below the blue one). I thought I could add this to ...
1
vote
1answer
129 views

How do I add Bootstrap and LESS to my migrated WordPress site?

I'm migrating a website to WordPress - it uses both Bootstrap and LESS. I found a snippet online for enabling Bootstrap and the outputted CSS via functions.php: function theme_add_bootstrap() { ...
1
vote
1answer
896 views

Using PHP to toggle stylesheet and header image, set in cookie

I haven't done a lot of work with cookies or Wordpress before so I think I've been a bit over-optimistic in my quest :p I have created two themes for my site, night and day. I would like the user to ...
2
votes
4answers
3k views

Hide a div that is part of all pages on one specific page

How can I hide a div (which contains an image) for a specific WordPress page? I believe my page id is 46: Here is the div I am trying to change: <div id="static-footer-image" ...
1
vote
1answer
245 views

Output terms to post_class()

I am trying to output all terms attached to a specific post (including custom taxonomy terms) as CSS classes applied to a DIV Something like that : <div <?php post_class('class-name'); ...
0
votes
0answers
17 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 ...
1
vote
2answers
2k views

wp enqueue style and style sheet depth

How could I add a style sheet at the bottom of the <head> tag, so if there´s a need to override some other styles added before, it will override. I heard something about wp_enqueue_style, and ...
0
votes
1answer
31 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
1answer
56 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
2answers
692 views

Remove id attribute from stylesheet link

Right now I'm serving up my own custom stylesheet. // register main stylesheet wp_register_style( 'custom-stylesheet', get_stylesheet_directory_uri() . '/library/css/main.css', array(), '', 'all' ); ...
0
votes
1answer
177 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 ...
2
votes
5answers
4k views

Customizing wp-activate.php

Does anyone know how I can customise wp-activate.php? It wraps the content in <div id="content" class="widecolumn">, however in my theme the main wrapper is <div id="main"> Presumably, I ...
0
votes
2answers
42 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 { ...
0
votes
4answers
6k views

All 3?: Responsive resizing of images + image width of actual image for small images + max-width for all larger images

What I'd like to achieve is to have images resize responsively – and for that I have to set 'width: 100%' – and at the same time set a maximum width to not have the image as wide as the content. To ...
1
vote
0answers
31 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
43 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
60 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
55 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
21 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 ...
-1
votes
1answer
32 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 ...
1
vote
1answer
25 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
0answers
18 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
36 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 ...