Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
0 answers
8 views

Need Captions To Display Below Images For Slider [closed]

I'm using the Gutenslider plugin on my home page to display some graphic design samples. However, I don't see an option to position the captions below the slide image. Guten drops them smack in the ...
user avatar
1 vote
1 answer
15 views

Where Do I Find The Astra Default Font Family That All Text Elements Are Inheriting From? [closed]

I'm working with the Astra theme and I'm looking at my Typography settings in the Customizer. All of the elements (body, H1, H2, etc) have the Font Family set to Inherit. Where do I find the actual ...
user avatar
0 votes
0 answers
11 views

Can't hide product attributes with css on WooCommerce Product Page

I'm having a problem in one site that I am making with wordpress/woocommerce, on product page I want to hide Size and Color from that section, unfortunately I did not succeed.
user avatar
0 votes
1 answer
18 views

2 css files? Theme css file gets override by another css file that I can not edit

I wasted quite some time already to fix this problem. I somehow have a Wordpress css file that overrides the css of my themes css. See attached image: At the top is the css which screws with my ...
user avatar
  • 1
1 vote
0 answers
11 views

How to override Bootstrap css with my child theme css in wordpress?

I am trying to load my site's child theme's css after Bootstrap CDN css in wordpress. I tried using these code but it doesn't work. The Bootstrap css is not overriden. What should I do to fix that? ...
user avatar
  • 11
0 votes
0 answers
12 views

How to put search bar & logo in the "primary navigation" storefront theme?

I'm using storefront theme for my shop, and here's the header I wanna put both the logo and search bar in in inside the primary navigation as I explain in screenshot.
user avatar
  • 1
2 votes
0 answers
22 views

Can you edit WP gutenberg block css without a plugin?

I want to add custom css to my gutenberg table block. I want to adjust the css width of the tds. Ive tried selected the "Fixed Width table cells" toggle but the table seems to have different ...
user avatar
  • 21
1 vote
0 answers
123 views

How to stop Gutenberg from outputting inline CSS for specific blocks?

I like to know how I can remove these individually. <style id='wp-block-separator-inline-css'> @charset "UTF-8";.wp-block-separator{border-bottom:1px soli ... </style> WP has a ...
user avatar
1 vote
1 answer
21 views

How do I modify the position of a plugin?

I am trying to modify a plugin but I'm a tech newbie. My plugin is for a floating mini cart. it's a great plugin but the position options are limited to "left-middle" or right-middle". ...
user avatar
  • 11
0 votes
1 answer
40 views

Why is my child theme style.css not found (404) in the front-end? [closed]

I have a brand new Wordpress install (5.9.3) served by nginx (1.13.12). I'm using Docker containers for nginx and wordpress. I created a child theme based on twentytwentytwo following the WP codex ...
user avatar
  • 23
0 votes
0 answers
5 views

Selector for page to set up scrolling plugin

I'm trying to set up infinite scrolling for pages on my site, using the Catch plugin. It asks for an item selector. The default is article.status-publish. I'm guessing that if I can figure out what ...
user avatar
0 votes
0 answers
19 views

The Global Styles missing

I am working on my first block-based theme, and trying to leverage theme.json as much as possible. I would like to allow client to change the the fonts, colors and other variations defined in the ...
user avatar
  • 155
0 votes
0 answers
16 views

Type character in name and make it invisble

my website is using MyHome theme. I need to write identical names for two search fields. Here - https://komand.suvenirite.net/dava-pod-naem/?offer-type=rent And here- https://komand.suvenirite.net/...
user avatar
  • 1
0 votes
0 answers
21 views

Want to create custom design of progress indicator in wpforms

Is there any way to create custom design of progress indicator of multistep form in wpforms. By default wpforms has three templates to chose from. I have chosen progress bar which has design like this ...
user avatar
0 votes
0 answers
20 views

how to changes mobile menu toggle breakpoint in Wordpress

I want to change the mobile menu toggle breakpoint in twenty-twenty one theme, want to show on 767px but it shows on 481px by default.
user avatar
0 votes
0 answers
14 views

Strange admin-ajax / CSS / $_SESSION issue

TLDR: I'm generating a random token on a front-end form and storing it in $_SESSION to later retrieve by the ajax script. THE ISSUE: The code retrieved by the ajax script does not match the one ...
user avatar
0 votes
2 answers
26 views

How can I get the search form to be selected automatically?

There is an icon to open the search form on my site, and when it is clicked, the search form opens in full screen. I want the search form to be selected automatically, how can I do that? Here: https://...
user avatar
-1 votes
1 answer
66 views

Filter post style attribute

Looking for a hook which enables filtering of a class within the post or content so i can add inline CSS using custom fields for posts on the home page. Something like this - add_filter( 'attr_entry', ...
user avatar
0 votes
0 answers
8 views

Button doesn't work in the profile panel

Can anybody help me out? Currently, I'm having trouble with the Set New Password button in the Profile section of the admin panel. The button is not responsive and nothing happens when clicking. I'm ...
user avatar
  • 1
0 votes
0 answers
30 views

ACF Gut block broke wordpress default style?

When I add a new custom ACF gut block, he broke the default WP style: After adding a custom block: Example of ACF block: acf_register_block_type(array( 'name' => 'rte-...
user avatar
  • 165
0 votes
0 answers
21 views

Wordpress Rest Api access the header and extract stylesheets URL

Good morning, i have just started to see in depth the WordPress API and the use of the fetch function in javascript and i would like to know if there is the possibility to get the url of the ...
user avatar
  • 145
0 votes
0 answers
18 views

Timber right sidebar in Wordpress theme

How can I add the right sidebar only in Blog posts using the Timber theme running in WordPress? I tried all I could find, but for some reason, it's not showing up correctly. Followed the docs. but I ...
user avatar
0 votes
0 answers
17 views

Two plugins using the same CSS id

I have two plugins that use the same CSS id, in this case id="TB_ajaxContent" which I guess means that those two plugins use the ThickBox widget to display things in a popup blackbox. One of ...
user avatar
  • 11
0 votes
0 answers
19 views

Create Columns with Custom Walker and CSS Classes

I want to create a menu in WordPress that using the CSS Classes (from Screen Options) you can separate the menu by columns and choose when to start and end the column. I have this information.. &...
user avatar
0 votes
0 answers
18 views

Custom css - Wordpress Multisite

I'm using Worpdress 5.9.3 version. When I try to make changes to the additional css on my Wordpress Multisite, I get an error message saying: "Something seems to be wrong. Wait two seconds then ...
user avatar
0 votes
1 answer
37 views

Wordpress sidebar content moving to bottom of page

Ever since my previous website update (developer no longer with me), I am having an issue with Wordpress widgets on my sidebar moving to below the content, rather than remaining on the sidebar on ...
user avatar
0 votes
0 answers
11 views

Invert porfolio item order

Hello i'would like to invert the display order of my portfolio. There is no settings for that, i use ot portfolio plugin. Can i use css or js to do such a thing ? Wha would you do ? <div class=&...
user avatar
0 votes
0 answers
28 views

Applying css in functions.php

does anyone know how i can style the content i echo out in functions.php with the style.css, just how i would if it was html instead of php? Or whichever other way i can style it, as long as it works. ...
user avatar
0 votes
0 answers
16 views

Scroll code block instead of wrapping text

I'm including some code in a blog post and the length of some lines causes text to wrap, which I don't want. I'd like to have the sort of thing which can be found here on stackexchange, where a scroll ...
user avatar
  • 101
0 votes
2 answers
19 views

Different background colors for posts with Wordpress

I have a question. Right now I displayed my posts in the next way: Title and under it a short description of that post(everything centered and the post is looking like a card). My client wants each ...
user avatar
0 votes
1 answer
10 views

WordPress Animation Adjustments

I have a problem with my WordPress animations. https://cyals.com is the website Currently developing. I Use Elementor Page Builder to build my page. a man and a woman load with animations one by one ...
user avatar
0 votes
2 answers
26 views

Completely Disable Wordpress RSS Feeds

There are loads of articles out there on how to completely disable Wordpress RSS feeds, my configuration (functions.php) is: function disable_feed() { wp_die( 'You Died' , 200 ); } add_action('...
user avatar
0 votes
0 answers
19 views

Load CSS before Theme CSS

I have a stylesheet I want to load first in the head before other plugins load css or theme css. For some reason priority is not working for me. Any idea how I can achieve this? I need to use ...
user avatar
  • 1
0 votes
0 answers
10 views

Divi CSS Flex/Margin Error

Coming here since I am out of ideas for debugging. https://www.biographic.com/the-tale-of-the-trojan-trout/ Starting at 2193px this row shifts from where it originally sits to almost one column over. ...
user avatar
0 votes
2 answers
41 views

How to remove parent style.css from the header

in a child theme of WP theme "twenty-twenty-one" I like to remove the original style.css of the parent theme - based in the link-tag id='twenty-twenty-one-style-css' - from the header. Here ...
user avatar
  • 1
0 votes
0 answers
19 views

Image modification

I am a beginner at CSS. I have followed Airbnb clone challenge. I believe that I follow everything the instructor does. Here is my problem. I added an image from my wix website. And, I added layout, ...
user avatar
1 vote
0 answers
35 views

How to check if a WordPress core block is active in sidebar

I have a widget area and I want to enqueue a stylesheet only if a core block is active in it. I tried the following code: // if has audio block. if (has_block('audio')) { wp_enqueue_style('audio-...
user avatar
0 votes
0 answers
9 views

Turn off display for custom sidebar post widget when on the post it's displaying

Hope my title makes sense, I've attached a picture for what I mean. I'm trying to use a simple bit of CSS. body.page-id-60748, .widget_its-single-post { display: none !important; }
user avatar
0 votes
0 answers
16 views

Is there a list of default generated Gutenberg block CSS? Unable to align video blocks

This is my first attempt at creating a theme for WordPress, I seem to have things working well for the classic editor, however, I'm having issues with the Gutenberg block editor. I'm trying to get it ...
user avatar
1 vote
1 answer
19 views

Media library style not loading correctly when selecting a page featured image?

I'm trying to set a featured image to some pages, so when I press select featured images the media library upload UI not loading correctly its own stylesheet ( get images and search are working ...
user avatar
  • 21
0 votes
1 answer
11 views

JS button animation for ajax the WordPress style

I'm creating a backend ajax functionality form, and I'd like it to stay within the WordPress style. There is a small spinning circle animation that appears on certain forms, like when you try to ...
user avatar
  • 455
0 votes
0 answers
7 views

Secondary Menu Not Functioning as a Sticky Menu

here is my css code for attempting to get my 2nd menu sticky. Why won't it stay sticky? My site: computerservicestech.com .site-content, .entry-content, .entry-content p:first-of-type { margin-...
user avatar
0 votes
1 answer
12 views

I have a wordpress website which uses a really weird font on Opera. What do I need to do to fix it?

I have a website which gets this font: when shown in Opera. Other websites work just fine and that very website works just fine in Firefox and Chrome. Is there something improperly setup in my ...
user avatar
0 votes
1 answer
30 views

Why my theme's css not working on another site

I work on my on theme based on Neve theme. First I had problem with scripts, because not working but i had to change their location from footer.php to header.php to everything was good. New some ...
user avatar
0 votes
1 answer
31 views

How do I use wp_nav_menu?

I try to add dynamically a menu which structure of css ul/li link look like that <ul class="navbar-nav ml-auto"> <li class="nav-item"> ...
user avatar
1 vote
0 answers
30 views

Load in wp admin assets from child theme

I started to create a child theme from a BoldThemes theme with custom icons. I am able to see icons when edit directly page, but when try to edit page from wp admin, I've this issue I discovered ...
user avatar
  • 21
0 votes
2 answers
37 views

Correct Way To Make Changes To A Wordpress Theme

I'm just getting started with WordPress development and trying to understand the correct way to change small elements within a page such as Woocommerce: How to remove page title from storefront theme ...
user avatar
  • 103
0 votes
0 answers
12 views

How to allow arbitrary inline CSS in posts?

Sometimes, I want to apply inline style—i.e. custom CSS for a single element, oftentimes unique across the site. But, with a very few exceptions, WordPress seems to strip these out. When I, the site ...
user avatar
0 votes
0 answers
28 views

Is there any way we can restore the "Additional CSS" after being erased?

My additional CSS got erased. how do I get that back?
user avatar
1 vote
1 answer
26 views

Layout using Bootstrap not aligning correctly

I have been stuck at a strange layout alignment issue. I have been using Bootstrap 4 to set layout of a section. Please take a look at the screenshot below - This is here. It is working as expected. ...
user avatar

1
2 3 4 5
54