Try media query like
@media only screen and (max-width: 768px) {
/* For mobile phones: */
/* YOUR MOBILE STYLE HERE */
}
Hope it will help!
Related Posts:
- @Media min-width & max-width
- Styleswitcher or themeswitcher to allow user to switch back to standard view from mobile device
- Only column gallery on mobile device
- Old Site displays on Mobile View, not New Site
- Change Header Image on Blog Post for Mobile View
- Menu toggle bar works only on some pages in WordPress
- CSS is not loaded on mobile devices
- My site on mobile version is not giving responsive view
- Change mobile menu color from red to another color
- New Styles Not Rendering On Mobile Phone and Tablet
- Desktop is class List and Mobile is class Grid
- use css for resize image into mobile thumbnail
- resize chat bar on mobile [closed]
- CSS Changes made, lost mobile functionality
- Making a custom CSS per mobile
- Center-Align Images on Mobile Only
- Add Quicksand for mobile devices
- How to insert spaces/tabs in text using HTML/CSS
- Failed to decode downloaded font, OTS parsing error: invalid version tag + rails 4
- How to make the HTML link activated by clicking on the
- ?
- How do I right align div elements?
- How would you make two s overlap?
- CSS text-align not working
- How can I insert vertical blank space into an html document?
- What is the difference between “screen” and “only screen” in media queries?
- How to have an anim gif on a link and play it on hover and reset
- How can I make Bootstrap columns all the same height?
- Align text to the bottom of a div
- How to make a
- display in a horizontal row
- CSS3 Scale Animation Keyframes
- Responsive Canvas in Bootstrap column?
- How do you avoid caching during development?
- Are there Gutenberg container blocks?
- Get parent category class in post_class()
- Why won’t child theme’s style.css override plugin’s css
- some things in child theme css not overriding parent
- Is it possible to create a full width row in WordPress’s editor window? [closed]
- How do I find (index) file in order to change style on CSS?
- Enqueue style for Password Reset page
- How to center a video [closed]
- How to change header & footer to full width? [closed]
- If post by specific role different css to everyone
- removing my underline from hyperlinks
- WordPress stripping out BR tags, need assistance
- Media library style not loading correctly when selecting a page featured image?
- Use wp_add_inline_style to add code to before wp_head?
- How to Remove White Space above video Block
- Output terms to post_class()
- Layout using Bootstrap not aligning correctly
- No styling on fresh wordpress installation
- What’s the best way to add the LESS preprocessor to a WordPress theme?
- How to disable the hover effect in WordPress and Elementor?
- What makes WP so SEO friendly?
- what could cause get_stylesheet_directory_uri() to fail?
- Delete a white space using css
- CSS – Initial HTML Margin Issue On WordPress Site
- Cannot set property ‘className’ of null at setThemeFromCookie
- How do I use inline styling with WordPress?
- WordPress address URL and bloginfo
- My CSS suddenly doesn’t load anymore [closed]
- Is there a way to add new div class via a theme’s Additional CSS interface?
- How can I move my custom css to the very bottom of the head section?
- Wrong image path within inline styles in the head
- Long post titles don’t move to next line
- How to not load stylesheet and how to load a second stylesheet on a page
- WordPress Caption Formatting
- Plugins not showing up for custom template
- The Global Styles missing
- Invert porfolio item order
- WordPress Sudden Loss of All CSS And Tons of JQuery Errors
- Can’t find a tag to style
- How to show address in one row?
- Custom CSS on mobile
- Removing Image Links from Custom Post Type
- Add inline CSS to login page with wp_add_inline_style
- Set version number in child’s style.css file
- I want to transfer my additional css code to my theme file–?
- WordPress changing content:”” to content: "
- How to customize Metaboxes?
- Change image using only CSS [closed]
- theme RTL make big white space in mobile mode and you need to scroll to see the site
- Logo Keeps Changing to the Default for Transparent Settings
- Content going full width even though container is not
- Align divs in a basic WordPress site
- How can I override an existing custom CSS rule for a specific page
- How can I add this specific link hover effect to a WP site? [closed]
- HTML5/CSS3 Polyfill for wp-login.php
- Bizarre WordPress CSS update problem
- Style tag on wp_footer
- Display current category without an active link in wp_list_categories
- Outputting the blogposts or the_content()
- WordPress with PageLines theme: how to change the background color of a page? [duplicate]
- Apply Classes to post text inside editor
- Twenty Twelve theme: remove margins
- s2member captcha how to make responsive – css or javascript
- How to define a special character to change the style of my inline code?
- Why is the “Additional CSS” section missing in my theme Customizer?
- Is there a way to edit the fonts of headings without a plugin (in the 2022 theme)?
- Customize margin between paragraphs using the Gutenberg Style editor
- How to remove automatically added custom style tag?