• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization 0-for-9, journal help

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #130 (Hot or Cold), Memol..

The next Dgrin Challenge DSS #131 (Music) is open for entries through June 24th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Mar-09-2009, 05:44 PM
#1
utahlefty is offline utahlefty OP
Big grins
0-for-9, journal help
I have a page forced to "journal", that is 100% text (klarphotography.com).

I want to have the "album description box" (where the text is located) wider and centered.

I've found several flavors of code to do so, but none are working - all make it wider, but by forcing the "box" to increase in size to the right.

how do you center the box? get the left margin to budge?


(I'm using Allen's "journal" code to create the page.)

thanks,
matt
Old Mar-09-2009, 05:51 PM
#2
jfriend is online now jfriend
Scripting dude-volunteer
You are much more likely to get help if you post a complete link to the page you are asking for help with.
__________________
--John
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Mar-09-2009, 05:53 PM
#3
utahlefty is offline utahlefty OP
Big grins
Quote:
Originally Posted by jfriend
You are much more likely to get help if you post a complete link to the page you are asking for help with.
here you go:

http://www.klarphotography.com/gallery/7487142_gNedY

how do you get it to center?
Old Mar-09-2009, 05:58 PM
#4
jfriend is online now jfriend
Scripting dude-volunteer
Quote:
Originally Posted by utahlefty
here you go:

http://www.klarphotography.com/gallery/7487142_gNedY

how do you get it to center?
Hmmm, this page is not forced to journal. It's in the Smugmug viewing style for me and I even see the photos below your HTML text. I can help you, but the solution would be different if you mean for it to be journal so I'll wait until you set the gallery style.
__________________
--John
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Mar-09-2009, 05:58 PM
#5
utahlefty is offline utahlefty OP
Big grins
waving you off now - I got a reply from "help"

it seems the Journal style is width-limited. to increase the width, float, and center you have to force the style to something other than "journal".
"smugmug" works fine.

matt
Old Mar-09-2009, 05:59 PM
#6
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Like John said, which one of your galleries? Framing gallery is the only one
that looks wider.
Old Mar-09-2009, 06:00 PM
#7
jfriend is online now jfriend
Scripting dude-volunteer
Quote:
Originally Posted by utahlefty
waving you off now - I got a reply from "help"

it seems the Journal style is width-limited. to increase the width, float, and center you have to force the style to something other than "journal".
"smugmug" works fine.

matt
You can control the journal width with CSS if you want.
__________________
--John
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Mar-09-2009, 06:04 PM
#8
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by utahlefty
waving you off now - I got a reply from "help"

it seems the Journal style is width-limited. to increase the width, float, and center you have to force the style to something other than "journal".
"smugmug" works fine.

matt
No your don't, just need to add CSS to increase width something likie this.

.gallery_7487142 #journal,
.gallery_7487142 #albumDescription {
margin: 0 auto;
width: 950px;
}

But do you realize how hard it is to read very longs lines of text.
Old Mar-09-2009, 06:05 PM
#9
utahlefty is offline utahlefty OP
Big grins
Quote:
Originally Posted by Allen
Like John said, which one of your galleries? Framing gallery is the only one
that looks wider.
Allen, I switched the style from journal to smugmug, which allowed the CSS to widen and center - solving that problem.

how do you hide the photo in smugmug ? (your journal-hide-photo code doesn't do it on smugmug style)

thanks

matt
Old Mar-09-2009, 06:12 PM
#10
utahlefty is offline utahlefty OP
Big grins
Quote:
Originally Posted by Allen
No your don't, just need to add CSS to increase width something likie this.

.gallery_7487142 #journal,
.gallery_7487142 #albumDescription {
margin: 0 auto;
width: 950px;
}

But do you realize how hard it is to read very longs lines of text.
now I've switched it back to "journal" and decreased the width to 750px.

the code above is exactly what is currently in my CSS - it appears not to center in journal. it will center in smugmug sytle, but the pics can't be hidden.

seems I need to choose one or the other ;)
Old Mar-09-2009, 06:16 PM
#11
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by utahlefty
Allen, I switched the style from journal to smugmug, which allowed the CSS to widen and center - solving that problem.

how do you hide the photo in smugmug ? (your journal-hide-photo code doesn't do it on smugmug style)

thanks

matt
Change .journal_entry to #photos

.notLoggedIn .gallery_xxxxxxxx #photos {display:none;}

Hiding others things is probably different also.
Old Mar-09-2009, 06:20 PM
#12
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by utahlefty
now I've switched it back to "journal" and decreased the width to 750px.

the code above is exactly what is currently in my CSS - it appears not to center in journal. it will center in smugmug sytle, but the pics can't be hidden.

seems I need to choose one or the other ;)
This seems to work.

Code:
.gallery_7487142 #albumDescription { 
    width: 900px;
    margin: 0 auto; 
                             /* gap from navbar at top */
    border: 1px solid #FFAA00;
    background: #242424;    /* background of description box */
    padding: 20px 20px 20px 20px;    /* top right bottom left */
}                                    /* spacing inside box from edges */

.gallery_7487142 #journal { 
    width: 900px; 
    margin: 0 auto;
}
Old Mar-09-2009, 06:31 PM
#13
utahlefty is offline utahlefty OP
Big grins
Quote:
Originally Posted by Allen
This seems to work.

Code:
.gallery_7487142 #albumDescription { 
    width: 900px;
    margin: 0 auto; 
                             /* gap from navbar at top */
    border: 1px solid #FFAA00;
    background: #242424;    /* background of description box */
    padding: 20px 20px 20px 20px;    /* top right bottom left */
}                                    /* spacing inside box from edges */

.gallery_7487142 #journal { 
    width: 900px; 
    margin: 0 auto;
}
it does seem to work ! I can't say I understand how but it does.

thanks for your help!

matt
Tell The World!  

Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump