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
14 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
2answers
11k views

WooCommerce change number of columns in the frontpage

I've been looking for an answer for a couple of days now. I've tried every snippet possible, changing the functions files, creating a separate template for content products but I can't change the ...
0
votes
1answer
92 views

Header formatting works for safari but not chrome @media screen size technique on iphone

I was creating a responsive design theme from underscores I was trying to format the header text .css file to make smaller text when it is opened up on an iphone device. I used @media screen and ...
0
votes
2answers
1k 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' ); ...
1
vote
2answers
949 views

How to make Custom Walker for wp_nav_menu() for materialize framework

I'm trying to make WordPress theme with the materialize framework but I'm really confused by the navbar part. I've searched on the internet but found nothing, it seems nobody works with materialize. ...
1
vote
3answers
78 views

How to add background image control to page admin controls?

I understand that each page is assigned its own class such as .page-id-22 & I can use that to assign a background image to it using the stylesheet but I've seen a theme that adds a control to the ...
0
votes
1answer
20 views

Place title (in correct place) above image with opaque background [closed]

I would like to display the title with opaque background above the images on a frontpage.php. I am able to display the title on top with margin:-#, and can add a transparent background with z-index ...
0
votes
2answers
12 views

Wordpress site using unknown overriding css

I have an issue I can't solve. When my website loads it seems to be grabbing an old version of our customized CSS and using that to override all our new CSS. But that old version no longer exists. I ...
1
vote
1answer
510 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 ...
0
votes
1answer
39 views

Backslashes being stripped from CSS

The title explains my problem. Upon saving CSS stylesheet in the "Appearance > Editor", single backslashes are being stripped out of the stylesheet. For example: content="\foo" becomes: ...
1
vote
1answer
29 views

How to decrease picture size

On my website, how can I decrease the size of the picture with the cyclists? Currently, I think it's too big.
0
votes
2answers
104 views

Best way for overwriting plugin css with custom one

I've to do very little changes to bbPress (forum plugin for WordPress) for a customer, at all about 5 lines CSS only. But I'm not sure where is the best place to put this CSS code. Modify the ...
0
votes
0answers
20 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
3answers
47 views

Custom css author role

I need a code snippet to load css (extra style sheet?) when a author is logged in. This is for a custom dashboard and post "page". The screenshot is what i mean by post page. I want to hide stuf by ...
-1
votes
1answer
1k 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
0answers
10 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 ...
6
votes
1answer
3k 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
600 views

Wordpress Site access from other machines on same network

I developed a Wordpress website on my local computer using 'Wamp' server. I'm now trying to put it on a local server at our work so that others can look at it / access it from their work stations. We ...
2
votes
1answer
83 views

Add CSS animation as Preloader to WordPress

I found a CSS animation snippet on Codepen, and would like to add it in my WordPress site for preloader animation, but I couldn't find any related help or plugin that would allow me to add a Preloader ...
7
votes
4answers
12k 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
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
2answers
24 views

Address automatically generated ids in css [closed]

I am trying to change the background for a the 'recent posts' widget in my Wordpress theme. My problem is that Wordpress generates ids like recent-posts-2 and so on, so how can I address this id in ...
0
votes
2answers
48 views

Centering one product on a single page [closed]

I have one minor issue that I cannot resolve and that is being able to center a single product on a page. I have managed to research this site and others and been able to center the text however I ...
0
votes
2answers
35 views

Changes in enqueued / registered stylesheet paths not updating—why?

I'm attempting to modify a WordPress theme so that it appends a version number to a particular stylesheet. This is all done on a local development machine, tested on a staging server, too, for good ...
-1
votes
1answer
15 views

How do I hide a specific div class inside <style>? [closed]

I'm working on this web page: http://www.teamlally.com/test.php and I'm trying to hide the island chain you see on the right. "class="hawaii-map" <style> #feature { display:none; } .copyright { ...
0
votes
0answers
20 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
1answer
16 views

Include css file to theme

How can I include a css file into your theme that is included in the same folder of the index.php file? I've try to use the html link-tag but WordPress can't find it. Here is my code in header.php: ...
0
votes
0answers
32 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 ...
-2
votes
1answer
119 views

<head> files disappearing from template

I have a site (link below), that every now and again, a bunch of the CSS of JS links in the head, simply disappear from the template (when i view source, they are not there). this of course means that ...
0
votes
1answer
58 views

Image thumbnail on single product issue | WooCommerce

I have a premium theme called "Labomba" and been playing around with it for quite some time as I'm building it for someone and now I'm reaching the end which I just need to sort out this issue. The ...
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
1answer
58 views

How to make this splash page responsive

I need to create a simple responsive splash page where there is a full background image with a logo, text and CTA on the top half of the image. The Mobile_View image is how the page looks when ...
0
votes
1answer
30 views

To override CSS of parent theme

First of all, I know very well that how to override css of parent theme. But on one property I got lots of trouble. I have a sitemap page in my project that contains <UL> lists. There are many ...
0
votes
0answers
14 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 ...
1
vote
1answer
85 views

How to change the order of the comment_form fields with css?

I would like to have the comment form display, from top to bottom: 1- the comment-form-comment; 2 - the comment-form-url; 3 - the comment-form-email; 4 - the comment-form-author; 5 - the submit ...
0
votes
0answers
25 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: ...
1
vote
0answers
19 views

Trouble making searchbar responsive [closed]

I have a searchbar in my header, which I need centered horizontally and just a little bit above the bottom of the header. I was able to achieve this by using display: flex; justify-content: ...
0
votes
1answer
11 views

Link to page with posts of specific type

This might be a stupid question, but I am having difficulty finding an answer on google. I have a section of my site that loads 4 divs with a post title, excerpt and 'read more' link to the full post. ...
0
votes
1answer
26 views

How to change menu hover color to white on my theme? [closed]

When you look at my themes menu, you can see when you hover over the menu links, the hover color is red. That is good. What you can also see is that the link inside the red hover turns from white to ...
4
votes
5answers
1k views

Sanitize User Entered CSS

Does anyone have any idea how to sanitize CSS entered via user input? I am concerned about cross-site scripting via CSS. I am using wp_filter_kses to clean up user entered HTML, but I need a like ...
0
votes
0answers
39 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
197 views

Editing Header Size of Listify Listings

Looking to edit the default header size of the listify theme I am using. Example of the header image size I am looking to edit: ...
1
vote
0answers
51 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
42 views

Widget edit and add in any page

So I have this site and on the bottom of the site you can see the map and search. I have 2 problems with that: The search if offset not in line with the other elements. I want/need it to be full ...
2
votes
1answer
2k views

I'm trying to add an image in my CSS

I'm trying to add an image in my CSS with the theme folder code, <?php bloginfo('template_directory'); ?>, which works in HTML but for some reason it's not working in the CSS. Does anyone know ...
0
votes
0answers
16 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 ...
-1
votes
3answers
693 views

Add CSS class to add-to-cart button, Woocommerce [closed]

Im looking for a way to add a custom class to the add-to-cart button on the single-product.php page in Woocommerce. I have tried the following without any result: Copy whole woocommerce-folder from ...
0
votes
1answer
19 views

widget: input the px value from user and use it as inline style in widget function

I am trying to dynamically add margin-bottom property to my widget. For example, I am inputting the value "50px" from my widget and want to use this value to adjust margin-bottom property for the ...
6
votes
2answers
2k views

Are the WordPress Core CSS styles really all nessesary?

On WordPress Codex there are these CSS styles listed. It's a quite big list of styles, but it seems they are doubled unnecessary. It says: Each Theme should have these or similar styles in its ...
0
votes
1answer
27 views

Blank white space where header was [closed]

So I'm working on my website and as you see on all the pages there is a white space between the menu and the content on any page. How do I remove this whitespace or hide it? I think the space was ...