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.

0
votes
1answer
102 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
4k 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
35 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
157 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
31 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
400 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
39 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
263 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
36 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
344 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.
0
votes
2answers
536 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
33 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
451 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... <...
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
539 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
27 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
33 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
2k 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
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
45 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
250 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
37 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
3k 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
188 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
100 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
27 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
96 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
224 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
179 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 ...
-1
votes
1answer
195 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
457 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:...
-1
votes
1answer
13 views

Issue with TABLE or DIV padding on Mobile [closed]

I have an issue on a page when viewed on a mobile device. This page (since issue has been solved this page won't be accessible any longer), when viewed on a browser looks perfect. But when I view it ...
0
votes
2answers
262 views

WordPress custom CSS file overrided by internal CSS [closed]

I have started to convert my static page to WordPress theme. While I am doing this I have a place where the position of the background image of a section has to be set with values like background-...
0
votes
1answer
19 views

Disable File Editing function

Researching fixing errors while validating my site, I got brave and clicked Enable button at Appearance > Editor and went pass the "warning" - now getting nervous bc don't want to accidentally mess ...
-2
votes
1answer
22 views

It's not showing full content for posts pages in wordpress “[…]” while customing some changes in the style.css file [closed]

I am new to wordpress.I was trying to do some changes in the style.css file but something wrong I did due to which the content for all the posts in the site it start showing "[...]" after a small ...
0
votes
1answer
24 views

child theme appears again when I put the header with parent name.

My wp site suddenly showed the default theme instead of its regular child-theme. Everyhing was restored when we put the parent theme name in the header of the style.css file. But the site was running ...
0
votes
0answers
44 views

Add class for the_post_thumbnail_caption()

How can I add a class for the function the_post_thumbnail_caption()? When I check the caption in the front-end, it's just plain text, but I want to style it with CSS, so it needs a class.
0
votes
1answer
1k views

Wordpress style.css not updating, only after theme reload

I am using Bootstrap to put together a Wordpress. I update all my files locally and upload them through Sublime's SFTP. I also use Cyberduck to double check whether changes have gone through fully. ...
0
votes
0answers
30 views

Fonts are not applying

In my wordpress site, I need to use another fonts for a table, so I've downloaded it and define it in a font-face, but somehow it is not applying and giving an error in console. CSS: @font-face{ ...
0
votes
1answer
425 views

Inside a loop, how to change CSS class based on category name?

This is my first post here. I am struggling with a new situation for me, as a WP Developer. I have a loop that lists some posts. These posts can be published in different categories. I need to ...
-1
votes
1answer
20 views

How to create and add js and css file when server is not on my PC?

I have to create and add a javascript and a css file and add that to wordpress theme. problem is server is on other computer. So I can't add js and css file so simply. I know I can edit theme If i ...
0
votes
1answer
293 views

Change css for certain user roles

I am trying to do a #tribe_events_event_options{display:none;} for all the author users on my site. I don't want them to be able to set an event to featured, and I thought the simplest way was to not ...
0
votes
1answer
39 views

Why is my CSS not loading?

I have the following code on my wordpress page but none of it is being formatted by the style.css file. Everything is in a folder titles 'Web Services' that i place directly into the wp-content/themes ...