Journal - Left, Right align, and all journal styling
lifeinfocus
Registered Users Posts: 1,461 Major grins
I posted the following to the Customization journal,
http://www.dgrin.com/showthread.php?t=109487
but I supose that was the incorrect forum. So, let me try again here:
We are exclusively using the journal style gallery for the 7 pages on our smugmug website – lifeinfocusexpressions.smugmug.com To add a little variety I want to right align, left align and combo align the journals.
I tried ".journal_entry .right" in various combinations of .journal_entry, #journal, and .gallery_nnnnnn .journal_entry {. I believe that .journal_entry is the parent, #journal is the child and .gallery_nnnnnn .journal_entry is the grandchild (although confused about this one). Correct?
One affects the page (which one?) .gallery_nnnnnn the photo/video gallery and the other affects what?
In the same line, how do I universally set the width for all the journals to width: 960px, or do I have do that specifically for each journal.
How I do align each journal gallery differently?
Example of one of the journal pages.
http://lifeinfocusexpressions.smugmug.com/gallery/6347163_SWKps
CSS I have included so far for the journal pages:
/* Journal styling*/
#journal {
margin: 0 auto;
width: 960px;
font-size: 13pt;
font-family: Arial Narrow, Arial;
color: #FFFFFF;
}
/* Specific gallery styling */
.gallery_6347163 .journal_entry {
border-top: solid 1px blue;
border-bottom: solid 1px blue;
width: 960px;
}
We are planning to go live next week Friday, November 7, 2008.
http://www.dgrin.com/showthread.php?t=109487
but I supose that was the incorrect forum. So, let me try again here:
We are exclusively using the journal style gallery for the 7 pages on our smugmug website – lifeinfocusexpressions.smugmug.com To add a little variety I want to right align, left align and combo align the journals.
I tried ".journal_entry .right" in various combinations of .journal_entry, #journal, and .gallery_nnnnnn .journal_entry {. I believe that .journal_entry is the parent, #journal is the child and .gallery_nnnnnn .journal_entry is the grandchild (although confused about this one). Correct?
One affects the page (which one?) .gallery_nnnnnn the photo/video gallery and the other affects what?
In the same line, how do I universally set the width for all the journals to width: 960px, or do I have do that specifically for each journal.
How I do align each journal gallery differently?
Example of one of the journal pages.
http://lifeinfocusexpressions.smugmug.com/gallery/6347163_SWKps
CSS I have included so far for the journal pages:
/* Journal styling*/
#journal {
margin: 0 auto;
width: 960px;
font-size: 13pt;
font-family: Arial Narrow, Arial;
color: #FFFFFF;
}
/* Specific gallery styling */
.gallery_6347163 .journal_entry {
border-top: solid 1px blue;
border-bottom: solid 1px blue;
width: 960px;
}
We are planning to go live next week Friday, November 7, 2008.
0
Comments
For the combo, do nothing in CSS
To align a specific gallery right (pics on the left, text on the right):
.gallery_nnnnnn #journal .journal_entry .right {
float: left;
margin-left:0;
margin-right:10px;
}
To align a specific gallery left (pics on the right, text on the left):
.gallery_nnnnnn #journal .journal_entry .left {
float: right;
margin-right:0;
margin-left:10px;
}
Replace "nnnnnn" with specific gallery number.
"You don't take a photograph, you make it." ~Ansel Adams
Phil
Sebastian
SmugMug Support Hero
Also, is there a way to have the text on the right for vertical shots and keep it below photos for wide panoramas / horizontal shots?
Thanks in advance,
f
http://franeksiedlok.blogspot.com/
If you want text on the right and photo on the left for vertical shots you could create a page and place a photo on the left and a text box on the right. Each photo would need to be placed individually.
Or, another option for all galleries might be the code that Allen posted in the second post of the thread journal style layout. Note that this applies to all photos in Journal style galleries, not just vertical shots. If you have the vertical shots isolated in a gallery that contains only vertical shots you can create a version of this code that only applies to the specific gallery.
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com