You would be better off creating a child theme, this will ensure your edits do not get wiped out when you update Woo.
Anyway, this CSS should work. I usually avoid using !important
but without seeing your page it’s hard to say what is overriding your styles.
.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images{
width:40% !important;
}
Related Posts:
- Best way to overide plugin CSS?
- How can I use WordPress functions in my stylesheet?
- How do I cleanly override a plugin’s CSS with a child theme?
- Why does wp_enqueue_style() in plugin not load stylesheet?
- How can I reduce the amount of files loaded/included per plugin?
- How can I dequeue a Plugin Stylesheet?
- Using standard backend elements in Plugin
- Override CSS settings of plugins
- Add CSS animation as Preloader to WordPress
- Best way to inject css into admin_head in plugins?
- How can I enqueue a style only when a particular widget is active?
- Unable to load stylesheets and scripts to plugin settings page
- Layout shop page: resize images and columns
- How extend shortcode default values for a plugin?
- wp_enqueue_style specifics for overwriting plugin styles
- Is it possible to use Snap Scrolling? [closed]
- Image resizing on home page (product category) [closed]
- W3 Total Cache: Load CSS asynchronously for better PageSpeed score? [closed]
- How do I write into a file (css)
- Why isn’t “background-image: url”working with Bootstrap carousel on WP?
- How to generate CSS from a shortcode within a plugin
- Add stylesheets and js to template files when shortcode is used
- Custom CSS for plugin form
- How do I modify the position of a plugin?
- How to disable CSS rule in Twentythirteen style.css?
- Theme’s default styles are overriding my plugin’s custom CSS
- Remove ALL css for a specific plugin page
- Can someone please tell me what is wrong with my plugin?
- How Do I Figure Out What File(s) to Edit from Looking at the Source Code [closed]
- Child Pages Short Code plug-in and hover capabilities?
- How to hide CSS by default and show on button press
- WordPress plugin output formatting
- how to access all user dashboard on fronted page [closed]
- What would I need to write into a custom plugin in order to add a switch for a custom string of CSS to the edit page?
- Ajax Search Lite: Customize Autoscroll
- How to get DEFER or ASYNC attribute to appear when I add a stylesheet with wp_enqueue_style from a plugin? [duplicate]
- Stop Plugin from Getting Styles from Other Plugin
- How to apply next/previous classes to LIs for pagination links?
- How to add CSS via custom plugin?
- Full list of registered scripts or styles, but from an admin options page
- How to add a dvi tag to a shortcode then change a generated text using jQuery
- Hide a Menu Item on Login
- Wooslider custom css
- Basics of changing plugin output
- Minimizing scripts & css files that plugins add
- Making that Admin Bar transparent or a blue color
- Skewed / slanted button within elementor [closed]
- plugin dev – minimum base css specificity?
- get specific value of a array | PHP
- How to make a dynamic css class whose name changes every visit to confuse scraper
- Moving Jetpack buttons to appear below the first H2 title on all project/post pages [closed]
- Override/ignore CSS from active theme as not to interfere with my custom CSS
- Historical customisations won’t go away [closed]
- Flickering sidebar when scrolling page [closed]
- change or add css to theme from plugin
- Add logo to admin menu in my plugin
- I would like to remove date display on photo preview
- At a Loss on over Page Peel Plugin Customization [closed]
- Is wp_deregister_script the best way to deal with unneeded plugins in a page?
- Blocking Plugin Css to load custom in template directory
- Block wordpress style for my plugin admin page
- Theme deactived html and css styling on home page posts
- uncaught TypeError: Cannot read properties of null (reading ‘classList’) custom plugin
- How do I minify a plugins CSS/JS code?
- Button and Countdown overlapping mobile menu
- Want to create custom design of progress indicator in wpforms
- Strange admin-ajax / CSS / $_SESSION issue
- inserting custom css, html and js into the current page as a popup window
- How to remove Unused CSS From a WordPress Theme?
- Overriding inline !important CSS with Javscript code snippet with media query
- Is there any known plugins that would replace WordPress classes in editor with their Bootstrap 4 equivalent?
- Applying module CSS to page
- Apply only the css in my style.css file
- How get horizontal div instead vertical CSS
- Changing the CSS with a plugin
- how to change a static testimonials into dynamic
- SASS not showing in customized preloader plugin
- Implementing Scrollable Images
- WordPress custom blockquote with black background & white text?
- Speeding up WordPress on a Local Network
- Edit the stylesheet of a child theme
- How do I override WordPress plugin css [closed]
- WP Plugin CSS not being applied to page
- Customize CSS for “Swipebox ” lightbox
- how to add custom css at top above all css file for specific url
- Best use adding user generated JS/CSS to a theme with a plugin
- Site not displaying correctly when re-directing from root to sub-directory
- WordPress audio player add class randomly using Audio Album plugin
- Best way for overwriting plugin css with custom one
- Child Theme Changes Are Not Reflecting In Parent Theme
- How to set up php,javascript and css to allow for our finished product to be displayed within a page?
- Like/Dislike Bar not working when updating
- Possible jquery / library conflict in plugin usage
- How to add different CSS for galleries
- How to activate/deactivate menu tab and keep the same id?
- MultiPostThumbnails and media queries
- How to display a sitmap horizontally? [closed]
- How to Add a Website Background Image to One Page?
- Content expands beyond its column container [closed]
- Woocommerce Product Page Collapsible Box Using CSS