Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [css]

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.

1
vote
1answer
42 views

CSS style button For WP Login Function in page template

I am using Avada theme. I have a page template created where I placed the WP Login function: <?php wp_login_form(); ?> Here is a live page: https://webariaserverfour.com/content-restricted/?...
0
votes
1answer
27 views

Blog Image and Title in Right Sidebar

I am making some changes to how the blog is currently showing up in the right sidebar of a wordpress page. Right now there is a large image, title, excerpt, and a Read More button. I only want the ...
0
votes
0answers
24 views

Dynamic styles depending on form selection Wordpress Multisite

I have a registration form for sites in my Multisite. My plan is to change minimal CSS styles in every site depending on the option that the user selected in a select that is in the registration form. ...
0
votes
0answers
115 views

I'm trying to modify the text displayed on hover on WooCommerce product page

I am helping a client with their Atelier WordPress site and there are some minor issues with what displays when a visitor hovers over a product. I just need to fix the text alignment and color of a "-"...
0
votes
1answer
881 views

Is it possible to create a full width row in WordPress's editor window? [closed]

Is it possible to create a section that is full width using only WordPress's editor, including the CSS editor? (not including using a 3rd-party plugin)? Edit: The info below was intended to ...
-1
votes
2answers
21 views

Automatically add class to link based on link text

I am wondering whether it is possible to automatically add a class to a series of links based on the link text. The scenario is as follows: I am displaying a list of links on a page in Wordpress ...
1
vote
1answer
48 views

Need Help Figuring Out Admin Menu Hover Styling Class

I am building a plugin that part of it has to do with styling the WordPress Dashboard Admin menu. I have everything all coded and working I am just stuck on this one piece. I need to find the CSS ...
0
votes
2answers
363 views

Changing logo depending on page on Total theme

Is there a way in changing the company's logo without editing the CSS itself? So when a certain page/link is clicked, the logo changes accordingly. Highly appreciate!
0
votes
1answer
85 views

Problem alignment issue with echo knowledge base

Im currently using a plugin called echo knowledge base. But apparently i want to show it like this on the single post. But apparently i only achieved this To achieve on what i wanted, i need to ...
0
votes
1answer
3k views

Remove “Category Archives: title” at the top of a category page [duplicate]

I created a category page that's linked to the main menu. It posts the categories fine, but it has the text "Category Archives:________" at the top of the page. Does anyone know to remove this. I'm ...
0
votes
1answer
33 views

Need help on Wordpress and php

A friend of mine asked me to make a few minor modifications on his website (change Titles on each page, add a clickable mobile link for phone number, add business hours in the footer, add scrolling ...
0
votes
1answer
36 views

Custom CSS rule overridden in theme

I installed a WP theme (Make, though that shouldn't matter for the question), and I set the Header Bar text to black colour through the theme options. I want to make one particular item in the Header ...
0
votes
1answer
133 views

Complex List Field - Gravity Forms

So I am using this Complex List instruction from LINK and it works, but it is changing all my lists. I've tried a few things but am missing something... .gform_wrapper ul.gform_fields....
0
votes
1answer
25 views

how make wp include urls as https?

i am doing migration of my website from http to https . now static files are coming from http schema . example <script type='text/javascript' src='http://demo.com/news/wp-includes/js/comment-...
0
votes
1answer
323 views

Woocommerce tables not responsive mobile

Ive begun to realize that woocommerce tables are the worst for mobile responsive tables. Has anyone had any success with a proper css file where tables are not stacked? I want to just squish the ...
0
votes
1answer
37 views

Trying to add get_the_title hook to this line

Hi creating a contact form. Trying to add the get_the_title() to this line of code: <?php echo '<textarea style="margin-left: 15px; width: 246px;" rows="3" cols="28" placeholder="I am ...
0
votes
1answer
185 views

Page flickers when new html5 video loads

I am making a website using WordPress. I have included an HTML code to play 3 videos in a loop at the top of the page. Initially, all the video plays in sequence without any issue. But during the ...
1
vote
2answers
35 views

CSS not loaded when omitting www. part of URL

I have the following website: www.bibaboegifts.be. When giving in the URL https://www.bibaboegifts.be, the CSS is loaded. However, when giving in the URL https://bibaboegifts.be (without the www. ...
0
votes
1answer
14 views

How to customize the WordPress 2014 theme, to have page using less horizontal margin?

How do I customize the WordPress 2014 theme, to have a single pages content use less horizontal margin? Do I need to create a custom theme? Or is there a simple way to modify or customize the theme ...
0
votes
2answers
264 views

How to remove footer from just homepage

I just want to hide the footer from the homepage and the rest of the website footer should remain the same. how can i do that? here is my website http://texmex-cantina.com/ Thanks in advance.
-1
votes
2answers
394 views

How can I fetch CSS from JSON WP REST API response

I'm getting page content via calling /wp-json/v2/page/ And there is no one field with CSS styles. How could I add css styles into json response ? Maybe exist some plugin, which can add custom field ?.....
0
votes
0answers
28 views

change the url paths in the stylesheet dynamically

Hello I found a function that when placed in the functions.php, it injects the entire stylesheet into the head on the website: add_action( 'wp_head', 'internal_css_print' ); function ...
0
votes
0answers
426 views

Bootstrap 4 - include the button within the responsive menu

this is the menu that i am using but problem is - in mobile devices the button is showing out side the menu .. toggler menu is only having the menu in and the button is coming up just below... <...
0
votes
0answers
115 views

HTML content overlapping

I am using the following HTML code in my homepage. As per my design, I want the video on top of the page, followed by a gallery of images. But my video and gallery are overlapping. HTML: <div id="...
1
vote
1answer
28 views

Show enqueued CSS and Script in custom header

This should be very simple ! We have enqueued CSS and scripts in our theme, they are registered and display properly when using the wp_head method. I have searched and searched but cannot find an ...
0
votes
1answer
440 views

how to move add to cart button to quantity button on single product page?

please help me guys! i am wondering how to move 'add to cart' button next to 'quantity button' in single product page. I am not familiar with php codes. the default value of add to cart button is not ...
0
votes
0answers
17 views

Wordpress admin css for a custom post

I am trying to give css to a specific page in admin - it is a custom post type. The inspect tool shows the following: <li class="wp-has-submenu wp-has-current-submenu wp-menu-open menu-top menu- ...
0
votes
0answers
15 views

Get Parent Template Name

Im trying to make a child theme of the Every Theme, but their style.css doesnt mention the 'Template' name. Ive tried various combinations but cant guess it. How do I find the parent template name?
0
votes
1answer
27 views

Customize WP website specific column with CSS

I would like to change the following sentence “CREATING STYLE FOR BETTER LIFE” to a different font (Rochester) and i have tried several CSS codes so far but none has worked for me so far. Website: ...
0
votes
1answer
22 views

Wordpress wp_add_inline_style unable to give hex colors?

When i am trying to add hex color its crossed out in frontend and if i add color directly i.e. black or white it works ..how can i fix this issue. This one does not work function ...
0
votes
1answer
32 views

What is the best method to have Dynamic CSS?

I have the theme options ready. i am able to save the user provided color to database. But problem i am facing is how to use info to generate css? will be great if some one can explain with one ...
0
votes
1answer
23 views

How do I target this page specifically?

I have created a Wordpress site, and am looking to hack the template so that I can have a background image at the top of my page (with the menu on top), and for the content of the page to directly ...
0
votes
2answers
1k views

How to set different font family based on text language?

I Developed one Newspaper portal in WordPress. I am using Two languages in this portal Tamil(site language) and English. Now I am using Nova Sans Tamil font for Tamil language font and Roboto font ...
0
votes
0answers
18 views

Website refuses to use optimised css file & just creates a new unoptimised file

We're trying to "optimise css delivery" to satisfy pagespeed insights. When we use critical css generator on the file it says should be optimised it just creates a new unoptimised file with a ...
0
votes
1answer
15 views

How to insert class in each list of categories?

<ul class="list-inline"> <li class="list-inline-item">Category 1</li> <li class="list-inline-item">Category 2</li> <li class="list-inline-item">Category 3</...
0
votes
0answers
11 views

Having Trouble Removing Featured Image from Portfolio Post in Agile Theme

I have been trying to remove the featured image from the portfolio page using the Agile theme in WordPress. I have tried multiple solutions throughout these forums but I cannot seem to solve it. Any ...
0
votes
0answers
44 views

Changing blog grid

I got a "problem" This is my website. I want to make the blog grid look like this on the most popular news: Instead of this: But if im trying to change the code, it will change for all the blog ...
0
votes
1answer
162 views

enqueing Javascript and CSS

Whenever I check my website on gtmetric, google Insights, Pingdom etc... I always get feed back of render blocking JS Currently I enqueue all my scripts as so: <head> <link rel="...
-5
votes
1answer
35 views

How to define and link full path to css located at a random folder on header.php

I want to link css and .js script on my header.php file, problem is I am not sure what should be the starting point of the directory Below is the directory where my file is located: Example path: ...
1
vote
4answers
2k views

How to remove padding and margin between divi rows? [closed]

I have two divi rows, each row contains 3 columns, each column contains a Blurb module item. I want to remove padding and margin top and bottom for those 2 rows, I want padding and margin 0px, how ...
0
votes
0answers
173 views

Wordpress CSS Navigation Menu on hover show image

So I'm building a WordPress website and I have some products sub-menus in a mega menu. I wanna make so when a hover a sub-menu product link to show a specific image in column 4 of the mega menu. I've ...
1
vote
3answers
88 views

Where is this inline CSS code [closed]

Where is this CSS code? I mean the margin-top: 46px !important!; I need to change it to 1px to rid of top margin. But i didn't found it in any theme's files. Note: I have searched the texts in all ...
0
votes
1answer
25 views

How do I change the style of just a part of the tagline?

I'd like my tagline to have specific styling - but not all of the tagline, but just some words should be bold/italised/different color. How do I wrap <span> around specific tagline words? Can it ...
0
votes
0answers
67 views

How to make Woocommerce Composite Products Components into one line?

Most of my products are Composite Products, and I'm trying to figure out how to make my composite products components into one line, example : https://www.exit82art.com/shop/selena-fara/pretty-things ...
0
votes
1answer
189 views

Menu Underline shows without Hover after adding subitems

One of my client's site has a blue underline when we hover on the menu item. As the client added a sub-item to the "Services" menu item, the underline under the services menu item started appearing ...
0
votes
0answers
19 views

Custom Post Type 'Lightbox' only displaying 1st post, no plug-ins

first post, been lurking around here for WP specific answers outside of SO. Trying to create a lightbox using purely HTML/CSS and no plugins. The lightbox will echo the image, title text, and ...
0
votes
0answers
150 views

Hover effect on elementor video

I am making a video gallery using Elementor video player. I have added the Vimeo video with an image overlay. 1. I want to make the video title pop up when the user hovers the mouse over the overlay ...
0
votes
0answers
101 views

Unable to reposition title and change font color in Twenty Sixteen theme

I am very new to Wordpress and CSS (<24hrs), so hopefully this is pretty rudimentary. I am using the Twenty Sixteen theme, and I've overlayed my title and menu bar over my header image: I would ...
-1
votes
1answer
165 views

Trying to disable all notifications except for one on woocommerce checkout page with css [closed]

Below is the structure of the html, I am trying to display: none all but one of the notifications that appear when a user doesn't fill in the required fields on a woocommerce checkout page (the ...
-1
votes
2answers
302 views

How to Style Primary Menu with Active Class

I have been able to style primary menu with hover class, but active class is not working: (www.gehrkeshardwoodflooring.com) .main-navigation { color: #b2a79b !important; } .main-navigation a:...