Support » Plugin: Slideshow Gallery » how stop importing @imoport Style Sheet in the middle of the body tag

  • Resolved srmahmud2


    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(‘’); “

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); ?>’);

    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.



    Plugin Author Tribulant Software


    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 ‘how stop importing @imoport Style Sheet in the middle of the body tag’ is closed to new replies.