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
3 views

How do I make my embedded Mailchimp text box in white colour?

Hi Wordpress Support, I have embedded a mailchimp sign up form in my homepage but the email text box is transparent very hard to see. How do I change it to white background for the text box? Here ...
-1
votes
0answers
6 views

style query_posts into external website

I'm pulling the last 4 blog posts to show up on an external website page. They load each per row. Wondering how can I style the php code in order to have them displaying in 2 columns. <?php ...
0
votes
0answers
9 views

How To Change Caption Background Color in Fusion Slider using Avada Theme in WordPress?

I am working on WordPress for 2 years and have familiarity with executing quite complicated and tricky operations using CSS but something is currently wrong with my system / the website or my theme ...
0
votes
0answers
45 views

Is it possible to link an external stylesheet, exclusively within a specific single post template?

SOLUTION Big shoutout to the wonderful SallyM, who answered this very succinctly in the comments of this post. If it helps anybody, here's the code that I used. Note: Replace the //CONTENT// with ...
0
votes
0answers
15 views

Removing <th> in Wordpress checkout table

I need to remove one tag in this table and make right part of this line on 100% width: I tried to use "display: none;" but I can't make right column on 100%: What else should I try? Here is URL of ...
0
votes
1answer
16 views

adding additional class to get the post thumbnail

I'm just starting to create new theme and i'm new to code. I'm stuck in customizing the post thumbnail code, i tried add <?php previous_post_link(get_the_post_thumbnail(get_previous_post(), array(...
0
votes
1answer
18 views

Getting click on item to open closest relevant element (popup) with jQuery

Using the Alerts extension for the WP Job Manager plugin. A list of user-created alerts is presented with some info on each alert. I want to show the info in a popup instead of on the list. Created a ...
0
votes
1answer
15 views

How do I make a custom “Read More Blogs” button for my blog page

I'm actually working on my custom wordpress theme. And, when I tried to develop a "Read More Blogs" button, I was unable. Because, all the examples I saw on internet was for pagination. I need a ...
0
votes
1answer
30 views

WordPress default theme CSS version problem and not loading

WordPress default theme CSS version problem and not loading. After change the css code not apply the old css only load. we manually the style version the new code load. style.css?ver=5.1 to style....
0
votes
1answer
18 views

why css doesnt work when i change my file of wordpress and sql to another computer?

HIII, I've developed a website using "Elementor" and when I copy the file sql and the file wordpress installed on my disk , I moved these files on another computer and I put it the file and run sql ...
0
votes
1answer
33 views

function class doesnt work

i added a menu to admin bar menu but it's style doesnt work;it looks like has default style <style> .my_menu_item_class{ color:red; background: yellow; } </...
0
votes
2answers
32 views

How Do I change Markup of a link in Wordpress

first off, I am sorry if this question has been asked before, don't seem to get it. I would like to change the markup of link in Wordpress to something like this <a href="#" class="s1 s1--top" ...
0
votes
0answers
19 views

Wordpress menu hides when i add custom shortcode

I built a plugin that generates a fullpage tab after a shortcode is called but for some reason immediately the shortcode is called the main menu hides on the page. My custom css is shown below ...
0
votes
1answer
45 views

Help using ShortCodes to style whole chunks of the post

Recently my sites got hacked, forcing me to start rebuilding them from scratch. It's been ages since I spent time on them, so I don't even remember the plugins I'd installed and used. One of them, ...
-1
votes
1answer
17 views

How to target only one element if more elements share the same CSS class

I am developing a website in wordpress using flatsome theme. I am facing a problem of images sizes. Actually all the thumbnails share the same class of CSS so when I change this class for one image ...
0
votes
1answer
21 views

Performance hit of Inline CSS

I would like an opinion. Does inline CSS hurt website speed performance? Because even though I write all my custom CSS in the theme customization page Custom CSS section, still in some speed tests ...
0
votes
1answer
23 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
8 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
0answers
12 views

Switch between landscape and portrait depending on screen orientation [closed]

Building a full-screen landing page how could I have the site use a landscape image for landscape-oriented screens (desktop - but also mobile devices when oriented horizontally), and a portrait image ...
0
votes
1answer
22 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)...
-1
votes
0answers
26 views

How to center elements with css?

page looks this on mobile screens: https://i.ibb.co/gDBMwMs/2111.png elements are not centered. part from header.php <nav class="navbar navbar-expand-md navbar-light sticky-top" style="...
0
votes
1answer
22 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
21 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
10 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
22 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
28 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
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 ...
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
18 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
18 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
58 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
55 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 ...
-1
votes
1answer
29 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
26 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
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
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 ...