No styling
-
Using Yoothemes Warp Framework 7 and Master2 theme.
Widget works functionally, but no styling is applied. Looks like probably the specific CSS is not loaded. Warp theme uses LESS. What do I need to do to get this working?
-
can you post a link to the page, that would be a big help.
does the css load when you use the shortcode, or are you actually using the shortcode, and not the sidebar widget?you can try to manually insert the css by pasting the following in your header.php after the
<title>...</title>tag:<link rel='stylesheet' id='countdown-jedi-css-css' href='http://your_website.com/wp-content/plugins/jquery-t-countdown-widget/css/your_style/style.css' type='text/css' media='all' />Sorry – but the site is currently confidential so I cannot give access.
Okay. Well, let us know if you get it resolved.
Well – it certainly is not loading the css.
I can confirm it is calling wp_register_style at line 65 and the wp_enqueue_style at line 102, but the <link> is not making it into the html.
But when I change the wp_register_style to a wp_enqueue_style at line 65, as you would expect all the styles are have link tags in the HTML. So it would appear that an wp_enqueue_style is working when called will all parameters for a css file not previously registered, but is not listing css files previously registered.
So no idea why. I thought it might be a Unicode coding issue or similar, but when I use mb_convert_encoding to convert both calls to ASCII it still doesn’t work.
So I have no idea what the cause is.
Does your host use varnish by chance?
This is a nice mystery. Is this local or do you have special WordPress hosting package?No – not even sure what varnish is.
This is a vanilla WP 4.1 with a raft of plugins to provide additional functionality.
can you post a link to the page?
site is currently confidential
Does your host use varnish by chance?
No – not even sure what varnish is.
Sorry, but if we can not re-create the issue, it must have something to do with:
Your Host (Varnish)
Your Theme
A plugin conflict.Can you re-create this issue on another site on the same hosting package?
What happens when the theme is change?
What happens when your deactivate all other plugins?We are happy to help, but can not be of much help until you can provide more useful information about this issue.
Definitely don’t use Varnish – we have no caching plugins at all at present since we are still in development.
When I get the time, I will try to do as you suggest, but I have higher priority items to work on at present.
Varnish is not a WordPress plugin, it is a…
…never-mind.
good luck.I don’t know whether my hosting company uses Varnish, but I think not.
We are now live at http://www.eastdevonalliance.org.uk if someone could look at the generated HTML and try to work out why this is not working that would be helpful.
Hmm – it is now working just fine.
So thanks to all who have contributed, but this is now closed.
Resolving
glad to hear you got the issue resolved.
Aarrrggggghhhhhhhhhhh!!!!!!!!!!
I spoke too soon.
It works fine on e.g. Chrome, but does not work on Firefox. Looks like the JS is not firing but I have no idea why. No messages in the Firefox JS console.
Upon further investigation, it works when logged out, but not when I am logged in as administrator.
Still no idea why.
The topic ‘No styling’ is closed to new replies.