Viewing 3 replies - 1 through 3 (of 3 total)
  • I had a similar issue when I appended the lightbox.css file to my theme’s style sheet, but when I removed it and added

    <link rel="stylesheet" href="https://xxx.com/xxx/wp-content/plugins/lightbox/css/lightbox.css" type="text/css" media="screen" />

    to the <head> tag in my theme’s header.php file, the CSS validated.

    Thread Starter Alex Cragg

    (@epicalex)

    i’m pretty sure that’s what i’ve done, but i’m still getting errors,
    see here for errors:
    https://jigsaw.w3.org/css-validator/validator?uri=https://www.epicskitours.com/

    this is the head section of my header file where the css is called

    <link rel="stylesheet" type="text/css" title="Default Style" href="<?php bloginfo('stylesheet_url'); ?>" media="screen, projection" /> 
    
    <!--[if IE]>
    <style type="text/css">
    @import "https://www.mydomain.com/wp-content/themes/epic/styleIE.css";
    </style>
    <![endif]-->
    	<link rel="stylesheet" href="https://www.mydomain.com/wp-content/plugins/lightbox/css/lightbox.css" type="text/css" media="screen" />
    	<script type="text/javascript" src="https://www.mydomain.com/wp-content/plugins/lightbox/js/prototype.js"></script>
    	<script type="text/javascript" src="https://www.mydomain.com/wp-content/plugins/lightbox/js/scriptaculous.js?load=effects"></script>
            <script type="text/javascript" src="https://www.mydomain.com/wp-content/plugins/lightbox/js/lightbox.js"></script>
    	<?php wp_head(); ?></head>

    i hope people can help, i really want to get this site validated properly

    Thread Starter Alex Cragg

    (@epicalex)

    if anyone comes across this, there has now been a new release, v2.03, and it has been css validated

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Lightbox CSS Validation’ is closed to new replies.