Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author Baden

    (@baden03)

    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='https://your_website.com/wp-content/plugins/jquery-t-countdown-widget/css/your_style/style.css' type='text/css' media='all' />
    Thread Starter EastDevonAlliance

    (@eastdevonalliance)

    Sorry – but the site is currently confidential so I cannot give access.

    Plugin Author Baden

    (@baden03)

    Okay. Well, let us know if you get it resolved.

    Thread Starter EastDevonAlliance

    (@eastdevonalliance)

    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.

    Plugin Author Baden

    (@baden03)

    Does your host use varnish by chance?
    This is a nice mystery. Is this local or do you have special WordPress hosting package?

    Thread Starter EastDevonAlliance

    (@eastdevonalliance)

    No – not even sure what varnish is.

    This is a vanilla WP 4.1 with a raft of plugins to provide additional functionality.

    Plugin Author Baden

    (@baden03)

    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.

    Thread Starter EastDevonAlliance

    (@eastdevonalliance)

    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.

    Plugin Author Baden

    (@baden03)

    Varnish is not a WordPress plugin, it is a…
    …never-mind.
    good luck.

    Thread Starter EastDevonAlliance

    (@eastdevonalliance)

    I don’t know whether my hosting company uses Varnish, but I think not.

    We are now live at https://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.

    Thread Starter EastDevonAlliance

    (@eastdevonalliance)

    Hmm – it is now working just fine.

    So thanks to all who have contributed, but this is now closed.

    Thread Starter EastDevonAlliance

    (@eastdevonalliance)

    Resolving

    Plugin Author Baden

    (@baden03)

    glad to hear you got the issue resolved.

    Thread Starter EastDevonAlliance

    (@eastdevonalliance)

    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.

    Thread Starter EastDevonAlliance

    (@eastdevonalliance)

    Upon further investigation, it works when logged out, but not when I am logged in as administrator.

    Still no idea why.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘No styling’ is closed to new replies.