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.
2,822 questions
0votes
0answers
5views
CSS Selector to override default theme.json custom properties in theme stylesheet
I need to specify some more finicky media query driven styles to override theme.json's default custom properties. Abbreviated example below. This example works, however I don't like that I have to use ...
0votes
0answers
20views
New to Wordpress, CSS, JS, etc. Having trouble adding custom JS - works in console with desired results but not on live site
I apologize for my ignorance, I'm still learning. Trying really hard to understand this all and make it work. I have a page with an image in a container and I want it to expand when the user clicks on ...
0votes
1answer
33views
Custom CSS Has Disappeared
I've been using a block theme for some time but recently (not sure when), all the additional CSS I had stored disappeared. I'm not sure how to retrieve that data and I'm hoping someone here can point ...
0votes
0answers
22views
How to edit the CSS for a Value class in Woocommerce
On the product pages of my website I can't style the drop-down for product attributes. The label and the value are there, but I changed the background of my website to black, so now the dropdown box ...
0votes
0answers
35views
How to remove all CSS hierarchy inserted by the single post of a custom post type - Wordpress
I would like to add some custom codes at the bottom of the single post of Wordpress. However, any codes added to the bottom of php Single post template is inside a hierarchy of CSS inserted by the ...
0votes
1answer
69views
Hide or Show Read More Button by Content Area
I'm trying to hide the read more button somehow based on character count, the button should only appear on long posts. But since I also control the button with css, maybe I need to hide it based on ...
0votes
1answer
23views
grid overlapping problem
I wanted to see if this layout ( https://gridbyexample.com/examples/example22/ ) in wordpress gutenberg because I need this "trick" in a layout where I work on. But to my surprise I see ...
0votes
1answer
22views
How to give a NavWalker its own stylesheet?
I'm learning Wordpress, but I have a background in vanilla web dev. Anyways I have learnt how to create a custom HTML structure for a menu. And that's by using the navWalker class (making a custom ...
0votes
2answers
43views
How to define the HTML structure when registering a menu in Wordpress?
I'm new to Wordpress. I understand that if you want to create a menu object, you have to go into your theme folder, and then into the functions.php file. And then in that functions.php file, you have ...
0votes
1answer
24views
Wordpress: one page's content is not centered, other pages all look the same [closed]
Here's the link to my website: aapilcfnetwork.org. I am using the Shoreditch theme. I can't seem to format the about page (aapilcfnetwork.org/about-page/) so that it is centered like the other ...
0votes
0answers
27views
How to resolve Multisite Speed issues
Can anyone assist in helping me determine our WordPress multisite speed issues? Our pages are taking 6-7 Full load times https://www.hilliardschools.org/ I've tried. Minifying CSS/JavaScript Multiple ...
1vote
1answer
39views
Responsive Menu: Center vertically [closed]
I want to achieve a vertically centered mobile menu in WordPress that looks something like this: Currently I added the following css code to my theme: .wp-block-navigation__responsive-container-close ...
0votes
0answers
22views
Twenty Twenty Four child theme stylesheet is not being enqueued in admin panel when editing pages
I have created a child theme of Twenty Twenty four. I have a styles.css in the child theme directory and I have enqueued the stylesheet to load in the child theme's functions.php: <?php /* * ...
0votes
1answer
31views
Wordpress custom css/js version not loading correct
$js_version = filemtime(plugin_dir_path(__FILE__) . 'js/script.js'); $css_version = filemtime(plugin_dir_path(__FILE__) . 'css/style.css'); $timestamp = time(); ...
0votes
1answer
33views
Apply Style variation to specific pages
I notice wordpress themes come with the ability to have "style variations". Can one apply a style variation to a specific "page/ post" as oppose to a block or section or global ...