banner
Advertising


Lightroom-News.com
LRN Contents
Calendar
LRN Archives
Meta
RSS Feeds


Lightroom-News.com

The lastest news and info about Adobe Photoshop Lightroom

Archive for September 13, 2008


September 13, 2008

Adding styles to the gallery

Continuing from our last post about creating your own Web Galleries for Lightroom, we now tackle adding Styles to our gallery.

Probably the easiest way to get a look going in your gallery is to simply add some CSS code. In the <head> section of our HTML file, simply add a <style> tagset and enter CSS info.

<style>
body{background-color:#000000;}
&lt:/style>

That will give you a black background. You could also place the body section in a text file and call it. Create a blank text file and call it gallery.css. Enter body{background-color:#000000;} into it and save it in the folder with the other files. Instead of the <style tag, we now need to use a link tag. In the <head> section: <link rel=”stylesheet” type=”text/css” media=”screen” href=”gallery.css” />. Now even though we done this correctly, Lightroom also needs to be told we’ve added a new file to the gallery. This is done in the manifest.lrweb file and uses a new command.