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

Is there a way to add new div class via a theme's Additional CSS interface?

I am trying to modify a woocommerce website and I have very little HTML/CSS training. Most of what I've learned has come from trial and error, some online tutorials, playing around with the ...
-3
votes
0answers
14 views

Underscores: There does not appear to be a layouts folder? Also, editing the style.css file is not changing the style? [closed]

Underscores: There does not appear to be a layouts folder? Also, editing the style.css file is not changing the style? Any help would be greatly appreciated.
-1
votes
2answers
18 views

I need css code to divide my webpage sections into two columns

<main> <a href="blogslist.html"> <h2 class="section-heading">All Blogs</h2> </a> <section> <div class="card&...
0
votes
0answers
13 views

Creating custom class for low in stock Woocommerce

I recently created stock options on my website. However I want to be able to style the low in stock option. Currently there is only an option for in-stock and out-of-stock. Is there any way to create ...
0
votes
0answers
13 views

Help me I cannot link my font-awesome to my Wordpress Theme. I have my font-awesome folder already in my project

My Path: C:\Users.......\Desktop......\coding\font-awesome-4.7.0\css my header code: GTCoding <div id="slideout-menu"> <ul> <li&...
0
votes
0answers
35 views

Wordpress Twenty Seventeen header image size not responsive for mobile

I'm currently working on a website in wordpress. I've been struggling with this problem for a while. At the first the header image was too big even for computer. I managed to make it shorter using ...
0
votes
1answer
28 views

Changing the CSS with a plugin

I'm trying to make a plugin that changes the CSS file. My client want to change the colors each season, and we want to make it foolproof so they won't break anything. I've managed to create the option ...
0
votes
0answers
9 views

Add style to admin panel table

good, I hope you are well, I am trying to add a stylo to my tables, to give it some color and I am not able to do it, I would like to know if you can help me how can I add something similar to the .bg-...
1
vote
1answer
15 views

How to design a table based on css values set from admin/dashboard

I have created a table at Single Product Page via plugin. I want to change the color, border, bg-color etc.. according to the values that the admin will set/enter from dashboard. I have done the ...
0
votes
1answer
20 views

Please help me to fix the copyright text on my Wordpress based site [closed]

I cannot fix the copyright text on my site (https://elrespeto.es). I want to keep the show content scrolling but fix the copyright text. Appreciate your help
0
votes
0answers
19 views

Creating HTML/CSS for a custom note to go in posts without plugins

I'm trying to find a way to create a custom HTML/CSS note so that I can put in my posts instead of having to install plugins every time. Something like below; Source: MDN Web Docs
0
votes
0answers
24 views

Warning: Use of undefined constant all - assumed 'all' (this will throw an Error in a future version of PHP) in C:\Users\… on line 6

Am new to WordPress theme. I tried writing this little code and got this Warning: Use of undefined constant all - assumed 'all' (this will throw an Error in a future version of PHP) in C:\Users..........
0
votes
0answers
26 views

Getting and setting CSS variables with JQuery in WordPress backend fails

On a WordPress settings page of a plugin I develop, I have to implement a visual element that I want to change by JavaScript. I've got my solution working as it should and tested it on code-pen and ...
0
votes
0answers
29 views

Drop down question

I am new to wordpress. Please pardon this question as it may seem mundane. How do I make a drop down menu for Information to the end-user in wordpress? similar to this... Thanks in advance...
-1
votes
0answers
17 views

Font-family CSS dose not work for mobiles

I use Zillah theme free version for my WordPress website. I use 'georgia, palatino, serif' as font-family CSS for my articles. But the font-family CSS are only working for Laptops and i phones. Not ...
0
votes
1answer
34 views

How to add custom color fields to the category edit page?

I'm building a Wordpress theme and I am currently finishing the category.php page. For this page, I would like the user to select two colors (background color and title/text color) and use them in the ...
1
vote
0answers
12 views

Trouble with plugin styles in admin area of Wordpress

I am creating a plugin and noticed in the admin area that my h2 and h3 tags are not showing correctly. They are the same size and not bold. I clicked inspect element, and it shows both headers having ...
0
votes
1answer
22 views

Placing background image over section divider

I'm looking for a solution that will allow me to add an image that will sit over a section divider, but then be hidden behind the section its self. If you look at this section on the website you can ...
0
votes
0answers
10 views

Woocommerce default css

I am creating a custom woocommerce template I added in the various pages: header.php <?php wp_head(); ?> <body <?php body_class( '' ); ?>> footer.php <?php wp_footer(); ?> ...
0
votes
0answers
21 views

Trying to generate a CSS file in wordpress uploads folder

When we customise the page in WordPress, it shows Additional CSS option in left panel, Customizer settings are saved by hitting the ‘Save & Publish’ button. This also saves our custom CSS added in ...
1
vote
1answer
24 views

Use wp_add_inline_style to add code to before wp_head?

I’m building a Wordpress theme for Themeforest. In the customizer I’ve given users the ability to also use the rem unit for their font sizes. I’ve created three different settings that control the ...
0
votes
0answers
16 views

how to change a static testimonials into dynamic

i have a section in my home page where i have testimonials and i want to customize it ! im using TC Testimonials plugin and i want the dots to be separated and in front of the testimonial section ...
0
votes
0answers
34 views

Modifications on css file are not visible

I have this css file included as https://****.com/wp-content/themes/my-listing/assets/dist/editor-styles.css?ver=2.4.3&wp-mce-4960-20190918 in the admin page. I have made some manual modifications ...
0
votes
0answers
27 views

3 Level Menu Navigation (3rd Level not displaying)

I am using wp_nav_menu on my wordpress theme but I can seem to figure out how to display the last level on my menu navigation. I would like the last level to display on hover of the parent item. Here ...
0
votes
2answers
29 views

TinyMCE on frontend style not working

I use TinyMCE advanced on my Wordpress website. My logged-in users have the ability to fill forms with WYSIWYG fields. I don't understand why some styles are not applied on those fields while it ...
0
votes
0answers
10 views

WP Website is shown in HTML

I‘ve been experiencing quite a strange issue with my WP website since I’ve upgraded my WP to the version 5.4.2. From time to time (it can occur to 2-3 times / week) my Website is displayed as html ...
0
votes
0answers
16 views

Is there a way to cache mailchimp css on wordpress?

At that point where I'm playing with load times and scores on Lighthouse, GtMetrix and the like, and am seeing problems? where external css scripts aren't being cached. For example, from mailchimp.com:...
0
votes
0answers
13 views

Links to CSS and JS change based on page you're visiting

I have a multisite setup. One of the sites is having an issue linking to the stylesheet and JavaScript resources. For some reason, the URL to those resources add the page url to the link. For example, ...
0
votes
0answers
16 views

Add an attribute to the root from functions.php with add_filter

I followed this link. First thing I did was to add my dark-mode switcher, add JS to handle it and edit my CSS accordingly. Thing is, I didn't exactly do that, I used the possibility to have a global ...
1
vote
1answer
26 views

Add a CSS class based on categroy id to archive pages

How can I add a css class based on categroy id in archive pages body in wordpress? I want to style each category page different
0
votes
0answers
18 views

Image displays only when height is set to length

I have a 2 column layout one column is in text & some images second is an image. In mobile view, they stack on each other but the image appears only when the height of (.column__two { width: 100%; ...
0
votes
1answer
9 views

SASS not showing in customized preloader plugin

I am new to WordPress and webdev in general so my skills are moderate. I am using a plugin called WP Smart Preloader to build my sites preloader. It allows for the use of custom HTML and CSS. The HTML ...
0
votes
1answer
49 views

WordPress backend is loading without style

My website WordPress backend is not loading with CSS….the frontend is working fine but once i try login to my wordpress admin the page load without any style .. I have reinstalled WordPress core file ...
0
votes
1answer
25 views

How to deal with logo color on dark mode?

I'm trying to add a dark mode on my website via prefers-color-scheme webkit. However, my logo is all black, while my header is white. On dark mode it should be the other way around. My logo is in PNG ...
0
votes
0answers
8 views

Responsive design posts [migrated]

I am trying to set up posts with pictures. I already write a code where the position of pictures is correct but only in the mobiles. Is there any CSS command which can I use? .image1{ height: 100px; ...
0
votes
1answer
24 views

How to show address in one row?

By using contact form 7 i created address page. By selecting the city they can view the list of branches in that particular city but here i am getting small problem in first row address are not coming ...
0
votes
1answer
29 views

How to add CSS class to <li> and <a> and id in a nav menu with code?

I have registered nav menu. here is the code <?php wp_nav_menu( array ( 'theme_location' => 'top-menu', ...
0
votes
1answer
24 views

Trying to style Woocommerce sidebar Cart Widget [closed]

I have looked at length to find CSS that will change the background color, border radius and product info text color. I think this may not be a "mini cart". The price of the item, subtotal ...
0
votes
1answer
22 views

Blog page and the Home page showing the same content

I am trying to set up a website with askme as the main template and consider myself as someone who dosent knows website coding yet.And so I am using Wordpress to build a website.But the only problem I ...
0
votes
0answers
19 views

Change ul from vertical to horizontal in widget

I am trying to change the style of a widget (https://ibb.co/n3hnXP5) displayed in my home page from Timetable and Event Schedule by MotoPress plugin. The original html output of the widget is <div ...
0
votes
1answer
33 views

WordPress childtheme not loading any CSS/SCSS

I'm using the BigFoot theme and I've made a child theme from this. I've set everything up, my child theme is activated in the wp-admin and everything looks good but for some reason my page isn't ...
0
votes
0answers
8 views

How to include my paths in the right way, that i can get me form complete with css, style in plugins

class contactform{ public function __construct(){ add_action('home.php', array($this, 'enqueue')); add_shortcode('contact', array($this, 'enqueue')); } function activate(){ } function deactivate(){ } ...
0
votes
0answers
15 views

How to reference different css (bootstrap) stylesheets for the header and body of a page?

Thanks in advance for the help, and apologies if I'm being dumb, I'm rather new. I have tried various different answers on this site, but they did not work, as they were meant for different pages. I ...
0
votes
0answers
8 views

DIVI Theme customizer changes not applied on existing pages and designs are not shown on the front

I'm using the Divi 4.8 theme on a localhost created by WAMP Server. The changes I make using the theme customizer menu are updated correctly in the preview screen (header, background colour, logo size,...
0
votes
0answers
8 views

How can i get an :after element to display beneath columns next to it using z-index?

I am creating a page in WPBakery Page Builder, and I have a dotted line created from :before and :after rules, and am looking for help to get the dotted line beneath the columns it currently is on top ...
0
votes
0answers
6 views

Change the space between nav menu and header based on user scrolling position

Hi there good people around the world! Im trying to design an Elementor Header With some custom CSS.. Im trying to change the height of the space between my header and the header full width mobile nav ...
1
vote
1answer
47 views

Changing “elapsed time” to “time remaining” on MP3-jPlayer audio player with CSS or PHP changes

I am trying to change the audio player on my website to show "time remaining" rather than "elapsed time". I have managed to make most of the changes I want with CSS or php changes ...
0
votes
1answer
27 views

How to make a dynamic css class whose name changes every visit to confuse scraper

I want to make the page classes changed dynamic depend on time or anything else to force the type of scraper that depend on my site classes or the classes like content, entry-content .. etc. How can ...
0
votes
1answer
28 views

Woocommerce doesn't work with theme, header missing and css messed up

Basically I'm trying to make woocommerce work with my theme. Summary: Header doesn't show up on product page and the css is kinda bad I'm sorry if the post is long, when I ask something people ...
0
votes
1answer
21 views

How can I modify the CSS only for the search results page of Wordpress?

I use the wordpress theme Sensible WP. When I do a search this is what appears as the URL: https://www.example.com/?s=my+search+text I need to modify the CSS for this page only, not all pages, but I ...

1
2 3 4 5
50