Title: custom css preview
Last modified: June 9, 2025

---

# custom css preview

 *  [vanbrel](https://wordpress.org/support/users/vanbrel/)
 * (@vanbrel)
 * [12 months ago](https://wordpress.org/support/topic/custom-css-preview/)
 * Hi
 * pls have a look at this post:
 * [https://www.kaskahass.de/html/wordpress/von-der-magie-des-buehnenoutfits/](https://www.kaskahass.de/html/wordpress/von-der-magie-des-buehnenoutfits/)
 * In the mobile version the vertical pics are quite long. So I added the css class
   mobil-vertikal to the pics and these lines to the custom CSS
 *  [@media](https://wordpress.org/support/users/media/) screen and (max-width: 
   768px) {
   .mobil-vertikal {height: 75vh!important;width: auto!important;object-
   fit: cover!important;object-position: center!important;}}
 * This works perfectly in the preview – but on the live Site everything is ignored
   and the problem persists.
 * Any Idea?
 * Hans

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Shahin](https://wordpress.org/support/users/skalanter/)
 * (@skalanter)
 * [12 months ago](https://wordpress.org/support/topic/custom-css-preview/#post-18503947)
 * Hello [@vanbrel](https://wordpress.org/support/users/vanbrel/),
 * Thank you for reaching out,
 * I’m seeing that the custom CSS you wrote is being used well: [https://ibb.co/kgg3TFSj](https://ibb.co/kgg3TFSj).
 * However, it seems it’s a cache issue, if you have any cache plugin or server 
   cache(CDN / Browser Cache and Cookies and …), you need to clear its cache contents
   or disable them to see your changes. Also, in Elementor, please don’t forget 
   to click on the regenerate all assets file and data in Elementor > Tools; and
   finally use hard-refreshing keys and recheck the issue. To refresh the page, 
   please follow the steps explained in this link:
    [https://www.documate.org/automation/what-is-a-hard-refresh-how-to-do-a-hard-refresh-in-any-browser/](https://www.documate.org/automation/what-is-a-hard-refresh-how-to-do-a-hard-refresh-in-any-browser/)
   [https://www.usmobile.com/blog/how-to-do-a-hard-refresh-on-your-browser/](https://www.usmobile.com/blog/how-to-do-a-hard-refresh-on-your-browser/)
   To clear cookies, use this icon: [https://postimg.cc/0rtp7SS9](https://postimg.cc/0rtp7SS9).**
   Summary:** Win: Ctrl+Shift+R Mac: Shift+Command+R
 * Clearing all caches depends on the cache at the ISP, which might take time. Alternatively,
   you can check it on a device that you haven’t used to access your website recently
   or check your website on a guest browser. So try in another internet service 
   if it possible, or browser / device etc…
 * I hope it helps,
    Best Regards
 *  Thread Starter [vanbrel](https://wordpress.org/support/users/vanbrel/)
 * (@vanbrel)
 * [12 months ago](https://wordpress.org/support/topic/custom-css-preview/#post-18506777)
 * Hi
 * doesn’t look like a caching problem for me. Ypu can see the problem as well as
   anybody else. And if I delete my cache and wouldnt effect your browser at all.
 * It`s strange. And it doesn`t look like a theme problem either – switching to 
   another theme didn`t change anything.</p> <p>It might be a code problem – but
   I don`t see any mistake.
 * Hans
 *  [Shahin](https://wordpress.org/support/users/skalanter/)
 * (@skalanter)
 * [12 months ago](https://wordpress.org/support/topic/custom-css-preview/#post-18507288)
 * Hello [@vanbrel](https://wordpress.org/support/users/vanbrel/),
 * Thank you for the feedback,
 * To help us better understand and resolve the issue, please provide the following
   information:
 * 1. A detailed explanation of the problem you’re experiencing, what triggered 
   it, what you expected to happen, and what actually occurred.
    You may also include
   screenshots or a short video to illustrate the issue.
 * 2. Step-by-step instructions on how we can reproduce the issue on our end, ideally
   in an environment other than your website.
 * Note: You can upload your files using one of these services:
    [https://postimages.org](https://postimages.org)
   [https://imgbb.com](https://imgbb.com) [https://loom.com](https://loom.com) [https://drive.google.com](https://drive.google.com)
 * Please keep us posted.
    Thank you, Best regards

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘custom css preview’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/oceanwp/4.1.6/screenshot.png)
 * OceanWP
 * [Support Threads](https://wordpress.org/support/theme/oceanwp/)
 * [Active Topics](https://wordpress.org/support/theme/oceanwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/oceanwp/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/oceanwp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Shahin](https://wordpress.org/support/users/skalanter/)
 * Last activity: [12 months ago](https://wordpress.org/support/topic/custom-css-preview/#post-18507288)
 * Status: not resolved