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.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

How to bulk remove line breaks that are not made with <br> tag?

We moved a bunch of blog posts over from one old drupal site into WP. They have a lot of odd line breaks in them but I cannot find or nbsp in the html. It's like someone hit return a bunch in the ...
0
votes
0answers
15 views

Two different inner shortcode under shortcodes or multiple nesting of inner shortcodes

<div class="eternal"> <div class="one"> [shortcode]Some text 1[/shortcode] [shortcode]Some text 2[/shortcode] [shortcode]Some text 3[/shortcode] [shortcode]...
0
votes
0answers
9 views

Bootstrap 4 Optimization

I installed all bootstrap links to my theme.I use bootstrap lowly; generally for grid system.How can I learn which link do I must install or not? Also I want to learn is my installation good or is ...
-1
votes
0answers
7 views

How to change all existing post title and content' color

A customer has a Wordpress blog. Last week, it looked normal. Now, suddenly all the post title and content's font color changed into white. Not sure why. Still using the same theme, though. This ...
0
votes
0answers
14 views

How to fix this? [closed]

Every time is something long without spaces it gets outside the box
0
votes
2answers
27 views

Custom Background by Page IDs

I use TwentyTwent theme and want to change its background colour by page IDs. I'm not sure but when I check the functions.php, I see below lines which are related to background colours: // ...
-2
votes
0answers
19 views

Do the themes twentynineteen and twentytwenty also have the parallax effect?

i use WP for six years now. and i am very very happy. regarding the theme: At the moment i stick with twentyseventeen which is very nice. I like the parallax-effect. and i did not try the themes ...
0
votes
1answer
43 views

How to style bootstrap container in Wordpress?

I'm trying to target the following div: <div class="col-md-5"> <article> <h2>Title</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. ...
-1
votes
0answers
13 views

Increasing the size of the main menu [closed]

How do I increase the size of the menu as some of the items are appearing on the second line? Is there any way we can do it in css?
0
votes
0answers
13 views

Split Slick Slideshow add Autoplay [migrated]

I found a slider I liked at: https://codepen.io/supah/pen/zZaPeE The only thing I'd like to add is an autoplay feature. The good thing is it uses Slick slideshow, which has an autoplay feature, so I ...
0
votes
1answer
25 views

Dequeue a style file which is making website load slow!

I have a website running on GrandNews WordPress Theme (https://themeforest.net/item/grand-news-news-magazine/15885465) and loading via KeyCDN. The site is loading a CSS file located at websitedomain....
0
votes
0answers
9 views

Top bar navigation breaks in Safari

My navigation should be at the black bottom bar when the user is at the top of the page, and when the user scrolls down, navigation switches to top bar. My problem appears only in Safari, when user ...
0
votes
0answers
10 views

Building a wordpress site with bulmapress/gutenberg/otter blocks: How can I style the comments?

I’m in the middle of my first attempt at building a site using Gutenberg, and the Otter Blocks plugin. You can check it out here: https://staging.radionowheremusic.com Every aspect of the page is ...
0
votes
0answers
20 views

How to create a dropdown menu with a top margin (or just a gap) ? Mouse can't keep the dynamic active

I want to create some vertical space between my parent menu and its dropdown menu, but if I give it a top-margin, the mouse is not able to hover over the menu and keep it actively displayed. This is ...
0
votes
0answers
20 views

Dropdown menu not close after click inside

On my WordPress website I have a dropdown menu which appear when you click on item-menu "ESPACE PUBLIC" with 2 sub-menus ("TOUS LES PROJETS" and "CORNIL"). When I click on one sub-menu I get ...
1
vote
0answers
23 views

Multiple amp-image overlays. How to properly do this in wordpress?

Summary Goal I want to: Add multiple overlays to an image, on a page, created with gutenberg, rendered as amp-img on the frontend. I want this kind of end result, but added through gutenberg. When ...
0
votes
1answer
33 views

How to get different html tags from the content using regex?

I am trying to get different html tags from a single post and display them as nested accordion. I have quite accomplished. the only problem I have is that. When I try to show all the p tags content ...
0
votes
1answer
25 views

I have a lot of JavaScript erorrs after SSL someone can help me?

I have a lot of JavaScript errors after SSL. Can someone help me? (https://validator.w3.org/nu/?doc=https%3A%2F%2Ffashionbymichal.com%2Fhe%2F) Also in the console: https://prnt.sc/qmnnzh
-2
votes
0answers
11 views

theme twentyseventeen: less height for featured images - how to set up this

Hi there good day dear experts, i run wordpress and have installed and set it to the theme Twentyseventeen: all is well - but at the moment - i am trying to customize the theme towards my needs: ...
1
vote
2answers
36 views

Gutenberg Additional CSS Class without modifying theme?

The "Advanced" option to add Additional CSS Classes to a Gutenberg block looks useful. But is there any way to define a CSS class for use on that post option other than to go and add a theme-wide ...
0
votes
0answers
36 views

H2 On Blog/Article Page Gets Assigned a Class

This question is for a WordPress website that uses a custom theme. When I add an H2 to a blog, I noticed there is a spacing issue. I inspected the page and for some reason H2s on blog/article pages ...
0
votes
0answers
12 views

Exclude dynamic css or js from CDN Wordpress

I've set a CDN via KeyCDN to an Azure endpoint. The problem is that I have a search icon which is related to vantam builder specific file all.css?version=blablabla. When I specify it as excluded, it ...
-1
votes
0answers
13 views

Can't change fonts in some pages

I have 2 language website Arabic- English one , I tried to use a special font in Google font called CAIRO, some pages have changed to be shown in this font and the others haven't , I don't know why ...
0
votes
1answer
12 views

Custom CSS working on home page but not on NEW created PAGE

I have this WP website http://darius-mann.com/smardigo/ with a lot of custom css. Everything works fine at the home page. Which is the the last mentioned link. To finish the project I created the ...
0
votes
0answers
22 views

Help with Divi logo not appearing for 10s

OK, this is a weird one. For reference, I've dug into CSS issues, and JavaScript issues, and I can't seem to find why this is happening. When you first go to the staging site, part of the ...
0
votes
0answers
30 views

CSS customizations - How can I add CSS to sub-elements?

I'm working on my client site and I'm trying to change the position of search bar placeholder - 'Search', but I couldn't manage to do it so I need some guidance to do this. Here it is how it looks ...
0
votes
0answers
13 views

Border around product image in every categories without one

How can i make a border around product images both on shop page and product page in every categories without one category in CSS and Woocommerce? Best regards, Johannes
0
votes
0answers
21 views

create a 2 row menu in wordpress

I am trying to split my menu in 2 rows by css but it doesn't work. Can anyone help me? I need my menu to be like (http://4amedical.com/en/) website, but instead, my menu moves under the subheader ...
0
votes
1answer
34 views

Put CSS inside a PHP file and include it the right way

I want to put CSS inside a PHP file, because with that I can use 'conditional CSS', depending on the value of a customizer control. My idea is to create a new php file, somewhere in my theme ...
-1
votes
0answers
16 views

Why does my website sometimes display broken?

My website is having issues in displaying correctly consistently. Sometimes it works and other time it doesn't and this also varies for computer and mobile viewing. Currently, from what I can see only ...
0
votes
1answer
17 views

How to remove Author and Category from a single portfolio page? [closed]

I have a little issue with removing the Category and Author from my single portfolio pages. I tried different suggestions from other posts here and nothing worked, I also tried to modify the code ...
0
votes
2answers
26 views

How to change wordpress registration form submit button value?

I am trying to create a website with wordpress and I want to change the text value of the submit button (included in the pictures). When I change its' text value while inspecting the element, it ...
0
votes
0answers
33 views

Wordpress Recent Post with the badge “New” on the side of the title post

I'd like to greet everyone a Happy New Year and Happy Holidays. I have a request on how to put a label "New" beside the title post on my recent post and my single recent post(red Mark in the photo). I ...
0
votes
0answers
17 views

Wordpress Slider is not working

Currently I am developing my first theme in wordpress by converting html. In my front page (front-page.php in wordpress) there is a slide. It was finely working with html. But when I place it in the ...
0
votes
0answers
14 views

Problem facing regarding Wordpress page added external code

I have added code element in my WordPress Avada theme , fusion page builder link of page : https://dynamics360.net/case-studies/#0 The Problem I am facing in that the sidebar overlap the footer while ...
1
vote
1answer
25 views

why enqueued styles in header.php shows in footer?

I`m using this code in functions.php: add_action('wp_head', 'addMyStyle'); function addMyStyle() { wp_enqueue_style( 'bootstrap', get_template_directory_uri() . '/css/bootstrap.css', false, '1.0',...
0
votes
0answers
18 views

Different CSS for each category label

I am using a theme based on Elementor and I'm currently displaying my latest blog posts in the home page using one of the standard Elementor widgets. I would like the category labels to be of a ...
0
votes
0answers
10 views

“Additional CSS” data keeps reverting back to default example, multiple rows in database created

Not really sure the best way to word this. WordPress stores the CSS in Customizer->Additional CSS in the wp_posts table, with the post_type set to 'custom_css' and the post_name set to the theme slug. ...
0
votes
1answer
43 views

How to integrate JSS to WordPress

WordPress is all about PHP and JSS is... Js. And I want to use JSS but I got trouble in interacting between generated HTML by PHP and CSS from JSS. Like in the official example (https://codesandbox.io/...
0
votes
0answers
11 views

The font I set up isnt being shown on my site

I recently finished building a site for a client, but after I installed some optization plugins(now all removed) and after I enabled text compresion on the cpanel, the font I want on my site is not ...
0
votes
1answer
18 views

Plugin and themes are adding the same stylesheets

/vendors/font-awesome/font-awesome.min.css? ver=2.9.10 /yith-woocommerce-wishlist/assets/css/font-awesome.min.css? ver=4.7.0 /theme/css/font-awesome.min.css **this csss are from different ...
0
votes
0answers
22 views

How to make video responsive in full height on mobile?

I have a problem I don´t find the way to solve it. I´m trying to make a background video to be responsive, so it looks full height on mobile, and it´s almost done, but it shows two borders on top and ...
0
votes
0answers
11 views

Problems with menu on 5.3.1

I have a menu with submenus. The menu item for the current page is highlighted with a different color. On Wordpress 5.3.1, if the current menu itme has a sub menu, I am finding that all the sub menus ...
0
votes
0answers
22 views

Use of CSS media queries with Customiser and preprocessor?

I'm building a Wordpress theme, which is, of course, responsive. In my CSS I've used media queries, to differentiate styles between desktop and mobile. Currently I'm making the theme compatible with ...
1
vote
1answer
17 views

Resizing of a header/div in a website through css in wordpress [closed]

How can I resize the mentioned header/div of my WordPress website? I have already tried it through checking the div name by going into Inspect Element but it is not working. One thing more the size ...
1
vote
0answers
20 views

Child Pages Short Code plug-in and hover capabilities?

Recently was trying to work on Wordpress site that was passed on to me, and it has a page that uses this plug-in and this one. The former provides an excerpt of the child-page for viewing purposes on ...
1
vote
0answers
20 views

Image not shown in the theme as it's showing in HTML template [closed]

I'm working on a theme creation in WordPress. When I add <?php bloginfo('template_directory'); ?> before an image tag, it didn't work, and also I gave image url in .css file #about-bg-diagonal {...
1
vote
0answers
24 views

How to add material design css in wordpress and woocommerce

I am creating theme from scratch. I want to add material design css / forms / components and style in my theme. Can someone please assist me how to start. How can I disable default wordpress and ...
0
votes
1answer
10 views

Remove clickable Link of Wordpress Site Logo from Woocommerce Single Product page

I need help to remove clickable Link of Wordpress Site Logo from Woocommerce Single Product page. i tried following css code .home .site-logo a { pointer-events: none; } and it works for Homepage. ...
1
vote
1answer
16 views

How to Remove White Space above video Block

How to Remove White Space above video Block from Wordpress post. Website URL- https://dooiz.com/babys-day-out-full-movie