WordPress.org

Support

Support » Plugins and Hacks » Tribulant Slideshow Gallery » [Resolved] how stop importing @imoport Style Sheet in the middle of the body tag

[Resolved] how stop importing @imoport Style Sheet in the middle of the body tag

  • while trying my site in w3 validator its show and error that inside boydy there’s styel style tag which contains the info such as ” @import url(‘http://example.com/wp-content/plugins/slideshow-gallery/css/gallery-css.php?resizeimages=N&width=&height=&border=&background=%23FFFFFF&infobackground=%23000000&infocolor=%23FFFFFF&wrapperid=slideshow-wrapper&thumbwidth=100&thumbheight=75’); “

    http://wordpress.org/plugins/slideshow-gallery/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    Great plugin, easy and all !

    I have the exact same problem though : it’s the one validation error that I cannot solve, and it makes me going nuts ;-

    I would be so grateful if anyone could tell us either how to stop calling the function right in the middle of <body>, or to stop calling it at all, since I could work with the regular css file (that would also be better regarding speed loading pages).

    Thanks a lot for your answer(s) !

    Okay, found it : in the “views” folder, then “default” folder, “gallery.php” file : you can edit it with any text editor. The line I was looking for was 157.

    <style type=”text/css”>
    @import url(‘<?php echo $this -> get_css_url($cssattr); ?>’);
    </style>

    Heyy! thanks for the update.

    I had almost forgotten I had the same problem before. Well your finding may help others. Can’t remember; I think I had used another plugin.

    thanks

    .

    Plugin Author Tribulant Software

    @contrid

    Thank you for your posts guys.

    Yes, this stylesheet is loaded inside slideshow-gallery/views/default/gallery.php

    The reason why it loads inside the BODY and in the way it does is because it dynamically generates the CSS based on possible parameters with the shortcodes and/or hardcoding.

    It is best to leave it as is but feel free to modify the plugin if needed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] how stop importing @imoport Style Sheet in the middle of the body tag’ is closed to new replies.
Skip to toolbar