3 votes

Style.css file gets restored to default version

Below is a generic response to help you, but first I want to give you my personal opinions based on my experiences with issues regarding using stylesheets with WordPress. I never use the themes ...
WordPress Buddha's user avatar
3 votes
Accepted

How can I make one button a different color from the other buttons on my site?

You probably need to add more specificity or more accurate targeting to override the existing block button styles. In the first case you are applying the styles to the .wp-block-button__link ...
majick's user avatar
  • 5,081
2 votes
Accepted

Embed dynamic media query in a Gutenberg block

If we stick to your exact example, I would define the value as a custom property in an inline style: <div class="item" style="--my-gap: <?php echo esc_attr( $attributes['gap'] ); ?...
Jacob Peattie's user avatar
2 votes

Busting Browser Cache when updating stylesheet of Wordpress website

If you are editing the child theme CSS then this line has nothing to do with that: wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css', [], THEME_VERSION, 'all'); ...
Tom J Nowell's user avatar
  • 59.2k
2 votes

Style.css file gets restored to default version

Are you using a theme you purchased? If so, your changes will get overwritten anytime that theme is updated. Depending on how the theme was built, it could also be overwriting the CSS file via a .scss ...
City of Oaks Marketing's user avatar
2 votes

Wrong mime types served

OK, so with the help of the comments to my question and some more digging around I have found (what I think is) the correct answer: The apache config needs to have the headers module enabled ("...
Wolfgang Schulze-Zachau's user avatar
1 vote

How to solve WordPress accordion problem on Iphone?

For working with accordions in iphone we need to add href="#id" attributes to tag. <a data-toggle="collapse" data-target="#collapse1" href="#collapse1"> ...
Aftab's user avatar
  • 1,321
1 vote

How do I change the CSS for all Page Title sections across an Elementor website?

Normally it will be: h1.elementor-heading-title
Monkey Puzzle's user avatar
1 vote

Twenty Twenty-Four Theme, where to put the personalized CSS style rules?

YES (finally).. The specific answer for this template I found in a WP forum was a bit misleading, which took me hours lost searching for what they meant. So: The section for personalized CSS styles is ...
DavidTaubmann's user avatar
1 vote
Accepted

add custom image to bottom of wordpress default login screen

Yes, you can use the login_footer action to add code before the closing </body> tag (untested): add_action( 'login_footer', static function () { echo '<img src="..." />'; } );
Caleb's user avatar
  • 1,773
1 vote

Can't change login logo & css - older plugin data blocking?

Found it! If you are googling ypyp-sym-tsym, almost nothing comes up, so I'm adding the answer here, in case somebody else stumbles upon this issue. The plugin that added this was yellowpencil (ypyp), ...
Adam Larsson's user avatar
1 vote
Accepted

Customizing the Post/Page Editor in Classic Editor

Classical editor is really powerful tool which could be configured as users needs. For configuration of WordPress additional plugin is needed: "Advanced TinyMCE Configuration" In this page ...
JRr's user avatar
  • 126
1 vote

WordPress backend is loading without style

Probably some (cache) plugin does this in your admin Add this in config. define( 'CONCATENATE_SCRIPTS', false );
Stavros's user avatar
  • 111
1 vote
Accepted

How to add a custom CSS class to core blocks in Gutenberg editor?

First, there's motion to potentially add this class by default in a future version of WordPress. If you only need to add a class on the front-end of the site (the editor already has wp-block-list on ...
mrwweb's user avatar
  • 10.2k
1 vote

Is it necessary to prefix every css class in a theme framework?

I use prefixes when I develop. I don't know if it's necessary but I read somewhere that it was good practice. I keep it to a 3-letter prefix. Something like .seg-text. Here, the "seg" prefix ...
Omar Shishani's user avatar
1 vote

How to change the standard width of a page

As of 2024, this operation is relatively easy to achieve, but it can be difficult to find where to edit the parameter. Go to Appearance -> Editor from the main administration panel Click on Styles ...
smonff's user avatar
  • 111

Only top scored, non community-wiki answers of a minimum length are eligible