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
1answer
26 views

How to change specific menu tab from left to right in My Home Theme?

may i know is there any css that i can use it to change the specific menu tab from left to right? i would like to change the language tab and profile tab (with it sub menu) from left to right. And the ...
0
votes
0answers
10 views

Issue with Transparent Navbar on First Load

This is a test website I am i the middle of created – http://newsite.camerabeanbags.co.uk The issue I am having is that the Top Navigation Menu/header should be transparent when the page is at the ...
0
votes
1answer
25 views

Penscratch 2 - changing color of the main block

I am using "Penscratch 2" theme. I would like to change the color of the main block with text (not sure what's the proper term for this) from the default white to something else (e.g., let's say, pink)...
0
votes
1answer
23 views

adding the_custom_logo(); to header

i want to show logo on navbar section.the logo appears but i cant control it with css. <?php wp_head(); ?> <nav class="navbar navbar-expand-md navbar-light sticky-top" style="...
0
votes
0answers
22 views

Remove top bar header

I'm having trouble removing some content from a website which I have taken over. There is a bar above the header which isn't a navigation bar and I am having trouble removing it. I was able to ...
0
votes
1answer
12 views

WordPress theme resource won't load over VPN

We are having WordPress portal over Intranet (LAN) that we use for internal purposes. We have set xyz.org host for Intranet. Over the LAN it is working fine. The issue is when our CEO access it over ...
0
votes
0answers
25 views

Implementing Scrollable Images

Sorry if this question derives subjective answers. I figure that asking on WP-SE makes this a little more forgivable. If I had asked on SO I would have had to explain why I couldn't change the block ...
0
votes
1answer
8 views

Replace header with large image on home page only, using Genesis child theme

Having looked at Show TwentyEleven header image only on home page, Replace Home with image link inside custom header menu and more, I don't see what I am trying to do. We want to replace the header ...
0
votes
0answers
18 views

Full width container background image on mobile [WPbakery]

I have a problem with a Full width container background image. Because it doesn't scale well on mobile. Im using Wpbakery. It looks perfectly fine on desktop: But it doenst scale right on mobile: ...
0
votes
1answer
23 views

Add a default style if no Featured image is selected

How do I have a fallback CSS style if no featured image is selected in WordPress? I'd rather remove the featured image block and replace with some CSS class if nothing is selected. <?php $thumb = ...
0
votes
1answer
19 views

How to stop my themes CSS changing the Wordpress interface/?

I'm currently busy exploring Wordpress theme development. I've made a theme and uploaded it to my Wordpress development site. In a css file of me, I've declared some styles for the h1, h2, h3 etc. The ...
0
votes
0answers
22 views

How Can I Disable Wordpress Theme Self-Update?

Q:I have a wordpress theme and i want to make some changes on the styles and css files but every time I make changes , after refreshing the page the custom styles are gone. Even I delete the theme ...
0
votes
0answers
13 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
18 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
29 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
17 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
1answer
25 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
23 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
26 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
20 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
61 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 ...
1
vote
1answer
65 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
8 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 ...
-1
votes
1answer
32 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
28 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
32 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
12 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
17 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
11 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
14 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
133 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
85 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
33 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
43 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
24 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
28 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
72 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
24 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
8 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
19 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
30 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
207 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 ...