• Resolved idowens

    (@idowens)


    In my photo gallery at https://www.idowens.com/photo-gallery/ the initial album view is in a single line down the left margin but if you enter a gallery the thumbnails are spread across the entire content column. I am trying to have the initial album view spread atleast two across but changing .flickr-album in my CSS changed not only the main album view but the individual albums as well…I was thinking about something like
    <?php
    if ($thisPage=="https://www.idowens.com/photo-gallery/") {
    echo "<style type=\"text/css\">
    .flickr-album {
    float: left;
    width: 180px;
    text-align: left;
    }
    </style>";
    }
    ?>

    but i can’t seem to get that to work for me. Any help would be appreciated ??

Viewing 1 replies (of 1 total)
  • I’ve had a terrible time getting “unique” style code and sheets onto specific pages unless it is coded within the content, such as

    <div style="float:left; width:180px; text-align:left">blah blah</div>

    Pain in the buns to put it on every div or span, but it does work….until someone comes up with a better answer.

Viewing 1 replies (of 1 total)
  • The topic ‘php/css help needed…’ is closed to new replies.