different theme output for desktop and mobile

Try using Chrome Dev tools – it has device screen size simulators built-in and many other useful tools https://developers.google.com/web/tools/chrome-devtools/ And to see any changes try clearing the browser cache: Open Dev Tools by pressing: F12 or Ctrl+Shift+I (or on Mac: Opt+Cmd+I) Now by just leaving dev tools open, right-click or click and hold the reload … Read more

I want to transfer my additional css code to my theme file–?

If you already had a theme, and you have just added some CSS, what you’ll need to do is create a child theme. The child theme will hold a short comment that tells WordPress to reference the parent theme (the original theme you were using), and then it can contain all your custom styles. This … Read more

Help locating old custom_css in PHP MyAdmin

Custom CSS contents are kept as separate post type named custom_css. Say, for theme named Simple Life, post entry would be simple-life for post title and post slug. CSS are kept under post_content. So, database table you should be looking for is wp_posts.

Set different css stylesheet for specific pages [duplicate]

Yes, it is possible. All you need to do is to check whether you are on a specific page or not. For example, this will enqueue your scripts only for the page that has the contact-us slug: add_action( ‘wp_enqueue_scripts’, ‘enqueue_theme_css’ ); function enqueue_theme_css() { if( is_page( ‘contact-us’ ) ){ wp_enqueue_style( ‘default’, get_template_directory_uri() . ‘/css/default.css’ ); … Read more

How to make a sidebar form show at the top of page on mobile?

Without knowing more, I can’t tell you if this is a theme setting or plugin update that changed this, or if the code literally was changed, or why the homepage works but the rest doesn’t. I can tell you from the provided screenshot that the necessary bootstrap that would swap the positions isn’t there. See … Read more

Are there any CSS classes for the wordpress colours?

No. The only styles that WordPress itself loads on the front-end is /wp-includes/css/dist/block-library/style.min.css, and this stylesheet doesn’t include any such classes or colours. All other styles are the responsibility of the theme. So if you want to know if a specific theme has such classes you would need to ask the author, however I don’t … Read more