-
AuthorPosts
-
October 26, 2016 at 10:19 am #704189
Hey
Yesterday I changed the URL of my website in the database (siteurl and home). I had to change them back but now it seems som styling is missing. The minicart is showing wrong in the header and the product grid slider is no longer in columns.
Do you know what is missing and how I can fix this?
Link: http://shop.vipbutik.dk/clubmatasmandag/
Kind regards,
MichaelOctober 26, 2016 at 10:26 am #704192The single product page also looks totally wrong: http://shop.vipbutik.dk/clubmatasmandag/produkt/den-danske-pige/
October 26, 2016 at 10:38 am #704203Done some more research and seems like the woocommerce-mod.css is not loadet. How can I correct this?
If you copy the URL to the browser it makes a redirect and returns a server error. If you remove ?ver=4.6.1 it loads correctly.
<link rel=’stylesheet’ id=’avia-woocommerce-css-css’ href=’http://shop.vipbutik.dk/clubmatasmandag/wp-content/themes/enfold/config-woocommerce/woocommerce-mod.css?ver=4.6.1′ type=’text/css’ media=’all’ />This link (from a plugin) however works with the version in the URL.
<link rel=’stylesheet’ id=’jquery.prettyphoto-css’ href=’http://shop.vipbutik.dk/clubmatasmandag/wp-content/plugins/wp-video-lightbox/css/prettyPhoto.css?ver=4.6.1′ type=’text/css’ media=’all’ />Kind regards,
Michael- This reply was modified 8 years, 1 month ago by mstorm85.
October 26, 2016 at 11:05 am #704217resolved it with this code in the child theme functions.php:
add_filter( ‘style_loader_src’, ‘t5_remove_version’ );
add_filter( ‘script_loader_src’, ‘t5_remove_version’ );function t5_remove_version( $url )
{
return remove_query_arg( ‘ver’, $url );
}However, I would like a better solution to the problem, so if you guys have any ideas they are very welcome.
Kind regards,
MichaelOctober 26, 2016 at 3:31 pm #704353Hi again
Another twist to the problem. When I now make changes ind the Quick CSS nothing happens. I have tried deleting the entire Quick CSS field and the site remains intact. As if it loads an older version of the CSS.
Again, this is a problem. There must be some kind of error. Any ideas? I have updated the theme as well as Woocommerce. Tried activating the parent theme and re-activate the child theme. But it does not resolve anything. I do not have any caching plugins on the website.
Kind regards,
MichaelOctober 29, 2016 at 8:01 am #705488Hi,
If you are using a caching plugin or some minification plugins kindly delete cache and disable those plugins, if it doesn’t work, Please deactivate all plugins one by one to check which one is causing this issue and let us know if this solves the problem.
In addition to that, please let us know if we are allowed to deactivate one or more of your plugins as well for testing purposes :)Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.