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

Wordpress css menu MOBILE

Menu Mobile not open submenu wordpress. Think there is a mistake in us CSS PHP CODE: <li class="list-open"> <?php wp_nav_menu( array( 'menu_class' => 'mobile-list', '...
0
votes
1answer
9 views

How can customized CSS on WordPress highlight the blog title in white when it's not intended?

I put some additional CSS to my WordPress, and it affected the main page in a way that I didn't intend. The below is all the CSS code that I added, h1 { padding: 0.5em;/*文字周りの余白*/ color: #...
0
votes
1answer
22 views

Changing navigation strip color with CSS

I own a website, Digital Phablet, i want to know how can i change thr color of Blue strip to Red? I have attached the picture too as well as you can check it on my website by typing the name on google....
0
votes
1answer
12 views

HTML not resizing

I am currently working on my business website. I am using ready made HTML code provided from a 3rd party for the front page. The output is small and can not be resized. On the 3rd party sites it ...
0
votes
0answers
14 views

Why can I not longer click form input fields, but tab works? [on hold]

I have a client with an older WP blog installed within an iFrame of the regular site. (....I know 🤦🏻‍♂️) WP was converted to house the entire site and has been fine. Core is stuck on 4.9+ because of ...
0
votes
0answers
4 views

Scroll animation doesnt work [migrated]

i want to use this animation but i couldnt do it.here explains that how to use. <!-- third section - Services --> <div id="services" class="pad-section"> <div class="container"...
-1
votes
0answers
21 views

Using functions.php to hide the `From Our Blog` in WordPress menu page

I'd like to remove the from our blog on the WordPress menu page using php. Is there any way of doing it in functions.php? Tried. add_action( 'wp_dashboard_setup', 'bt_remove_dashboard_widgets' ); /*...
0
votes
0answers
11 views

Elementor Pop-up Menu Help [closed]

I'm using Wordpress elementor for the first time and just started messing around with their pro module. The popup for a full screen menu on mobile is showing up off screen. Anyone have any ideas? ...
0
votes
0answers
12 views

WordPress site acts strangely when opened from Instagram bio link

I have a website using WP that I have built as a kind of social network with questions and answers. The problem is when I (it has happened to other people too) click the link on my IG bio that takes ...
-1
votes
0answers
26 views

AJAX error at XforWooCommerce plugin less compiler [URGENT!]

I buy XforWooCommerce plugin but it all the time cause a some "AJAX error!" on CSS compiling and all logs points that error occur at/by less-compiler. XforWooCommerce developer Mikhailovich Nenand are ...
0
votes
1answer
24 views

Add Shortcode to ::before class

I want to add a button (that will open an INFO popup screen with info about a certain option in a woocommerce variable product), all that can be easily created with a plugin that converts the whole ...
0
votes
0answers
20 views

On only some bbPress forums I would like to allow new topics but not replies

postid-316 .bbp-topic-form { display:none;} this works .bbp-reply-form { display:none;} this works postid-316 .bbp-reply-form { display:none;} this does not work I have spent hours on google ...
0
votes
0answers
12 views

overflow hidden not work in safari with pseudo element

hello everyone I'm trying to create an animation with elements in css with simple cubes in tresparenza. Everything works perfectly if it weren't for Safari giving me display problems. Can you help me? ...
0
votes
1answer
17 views

Are there any CSS classes for the wordpress colours?

Are there any CSS classes for the wordpress colours: https://make.wordpress.org/design/handbook/design-guide/foundations/colors/ For instance, classes like these from the Twenty Seventeen Theme: ....
0
votes
1answer
14 views

How to make a sidebar form show at the top of page on mobile?

There is a quote request form on the sidebar of homepage and all other pages. On mobile and tablets, this form used to show on the top. But something changed and now it shows on the bottom of page ...
1
vote
1answer
57 views

Is it better to put CSS in additional CSS or in Child theme styles.css [closed]

By better i guess i mean which works faster when rendering the page. I understand that the additional css editor stores the changes in the database. Does that make it quicker or slower than using ...
0
votes
1answer
50 views

WooCommerce: The model of e-mail is displaying only the html, not css

I'm using the version 3.4.7 of WooCommerce and configuring the e-mails, I stare with a strange thing: the templates didn't appear the css. I experienced this in all of my sites, this is a test site ...
0
votes
0answers
6 views

Mega menu 3rd level sub menu overlapping with second level menu [duplicate]

i am created mega menu two levels worked fine 3rd level sub child menu overlapping with second level menu problem with Z-index my website url : http://3.9.10.5/ (3rd menu Treatments > Wrinkle ...
0
votes
0answers
39 views

CSS changes not visible in browser [closed]

I am having problems modifying the style.css file in my website. I am trying to change the colors of my website's navigation bar and the hover but it doesn't seem to be working. I have tried changing ...
-1
votes
1answer
27 views

Eliminate Render blocking CSS?

OK, so I'm really struggling with a 'brand-new' WordPress website. I'm no WordPress developer, I only have some knowledge of HTML, CSS and a very basic understanding of PHP, Javascript and jQuery. ...
0
votes
2answers
24 views

Make a full-width wordpress page

Thank you for reading my question. I can't seem to figure out a way to make this page full width (or almost full width). When i am on tablet and mobile phone it does fill the screen almost entirely. ...
-2
votes
1answer
11 views

Difficulty hiding a span per a body class within WordPress

I am trying to hide a span class as per the CSS class within the body tag. Here is the HTML I am trying to hide: <span class='efav-span'><img src="">Content here</span> And the ...
1
vote
1answer
30 views

How to hide CSS by default and show on button press

I have the Elementor Pro page builder plugin installed and I want to setup a expanding column so when a button is pressed it expands more Elementor sections. I'm pretty certain this can be done with ...
0
votes
0answers
11 views

How do I keep the table row width after adding PHP for ID and Class name?

I am writing a custom post type for a schedule posting page. <section class="schedule"> <?php $crgs = array( 'post_type' => 'schedule', ...
0
votes
1answer
14 views

Set different css stylesheet for specific pages [duplicate]

Is it possible to assign a css stylesheet to specific pages only? If so how? Can I use something like this? Not sure how to specify the pages though? add_action( 'wp_enqueue_scripts', '...
0
votes
0answers
12 views

Fixed widgets in reduced navigator

I have a problem in my web page,when the navigator is full screen every thing is clear and in place but when i reduce the window of the navigator for multi task the widgets on my website (charts and ...
0
votes
1answer
10 views

Wordpress default theme cannot get full page on entry content div

I am trying to create this very simple landing page on Wordpress using the basic theme but customizing my homepage. At first I tried through Visual Composer but then did so as well through the text ...
0
votes
0answers
25 views

How do I add this custom nav menu to my wordpress?

So I'm trying to recreate the nav menu over from stripe.com over on wordpress, and I found this tutorial. I haven't found any plugins that can recreate the stripe nav menu effect so I'm resorting to ...
0
votes
0answers
13 views

Modifying Gallery to have different columns on mobile

Website-http://rgmun.ga/unsc This page has the list of “Executive Board memebers” which follows an order. The president has a precedence over Vice President who has precedence over Assistant Vice ...
1
vote
1answer
46 views

Gutenberg Block Editor Match Admin Styles & Frontend Styles

I am creating a simple theme and some custom blocks to go along with that. However, I don't understand the best way to visually make my block look the same in the editor and the frontend. There are ...
0
votes
1answer
19 views

Desktop is class List and Mobile is class Grid

<input type="radio" class="list" checked> <!-- checked, desktop --> <input type="radio" class="grid"> <!-- checked, mobile --> Here class list is desktop and mobile. I know it ...
1
vote
1answer
23 views

Update html tag class values based on Woocommerce product attribute dropdown selection [closed]

I have started to build a Woocommerce site, created a variable product with 2 product attributes for variations. The first product attribute is "color" and the second is "size". I would like to add ....
1
vote
1answer
32 views

Is possible add class for last post of Custom Post Type?

I need to add a different class for last post of a Custom Post Type. Is it possible? I have found this code, but it works only in posts function wpc_last_post_class( $classes ) { global $...
0
votes
0answers
20 views

WP Admin Bar transparent on some pages (.screen-reader-shortcut)

I have an issue where the WP Admin Bar is transparent on some pages on the site. It's there and all the links are clickable, however, it is not viable. I am using a child version of the Divi Theme ...
0
votes
3answers
40 views

How to adjust text’s width and put it at center of post (Visual) editor?

[Disclaimer: I'm not a developer of any sort, but willing to take the time. (Can do a bit of CSS, though.) Also, new to this forum.] I’m using Anders Norén’s Hemingway theme. I haven’t tried ...
0
votes
1answer
21 views

How can I delete the word `Category:` from page titles? [duplicate]

If I installed a new WordPress with twentysixteen theme and went to uncategorized page, I will see at the title something like Category: Uncategorized how can I remove the category: word from pages ...
-2
votes
1answer
27 views

Why doesn't media(max-width) work on h2 title?

I am trying to style posts on my website, but when I try to change font size with media function in CSS I can't seem to change font size for h2. When I go to "inspect element" and navigate to "style" ...
0
votes
0answers
38 views

Kirki inline styles with Understrap theme

I am using Kirki and it’s ‘output’ argument for typography, background and color control fields. I am using Kirki in the Understrap theme and the theme uses gulp and SCSS. I also wanted to use ...
0
votes
0answers
12 views

Wordpress hscss?

I was trying to optimize a website by cutting down some unneeded requests and stumbled upon this weird entry: What is this request for? I tried blocking the request and it has no noticeable effects ...
0
votes
1answer
14 views

Help locating old custom_css in PHP MyAdmin

I started developing a website, and midway through I changed the URL. I was and still am an amateur so unfortunately I've had some issues with the database now that I'm trying to go back and clean ...
0
votes
0answers
17 views

Pagebuilder siteorigin not loading front-flex css

I cloned site from live to localhost and siteorigin pagebuilder is not working correctly. Its not loading front-flex.min.css file. Although it was loading just fine on live site. Pushed changes to ...
0
votes
0answers
7 views

wp_option table breaks layout when merging CSS

When merging css files the whole layout breaks as if no css file were being called, no matter what plugin I am using for merging. After starting a fresh install and migrate data step by step I found ...
0
votes
1answer
18 views

I want to transfer my additional css code to my theme file--?

What should i do? I added a css style code my custom header. Now i want ti give my theme to my fruend. Now, can additional css keep in theme file?
0
votes
1answer
28 views

How to NOT override inline css rules

I had to dequeue the style.css parent theme file and requeued a copy without the @media rule for the menu from my child folder with a priority of 11. But now this new style is overriding inline rules....
0
votes
0answers
31 views

How to create a mobile menu full screen overlay using Understraps Bootstrap 4 theme

I'm using the Understrap theme for Wordpress and looking to modify the default menu on mobile when the user clicks the hamburger menu. Essentially I am trying to get the menu to fully overlay the ...
-1
votes
1answer
37 views

controlling the showing and hiding of the website logo

I'm using the following css to hide the logo at the top left area on my website: .home .logo-for-panel { display:none; } However I hope the logo will appear gradually when I scroll down to 2nd ...
0
votes
0answers
21 views

WordPress changing content:“” to content: &quot;

I'm trying to prevent container collapse using section.main::after { clear: both; content: ""; display: table; } When I preview my page, the container has not opened up. Inspection ...
0
votes
1answer
25 views

different theme output for desktop and mobile

I have an RTL theme for my wordpress site eblog.elektrojo.com which uses the Arabic language. A part of the website is a store using woocommerce and since the items descriptions and details are ...
1
vote
1answer
83 views

Do I need normalize.css when developing my own Wordpress-theme?

I'm developing my own Wordpress theme and I'm trying to make it as light as possible. I started from the Underscores starter theme, but they use normalize.css to reset the styles. Is it necessary to ...
-1
votes
2answers
55 views

How to keep close a sub-menu under homepage? [closed]

I am facing an issue in the Avada vertical menu when the homepage is opened. Please note that all "Home", "Company profile" and "Servizi" link to the same page (the homepage). The sub-menu under "...