• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Gallery comments cause empty space on the right

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 #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 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 Oct-25-2010, 10:59 AM
#1
VRaman is offline VRaman OP
Big grins
Gallery comments cause empty space on the right
When someone leaves a long comment in my gallery, it causes the page to extend to the right with empty space.

I tried to fix it by restricting the width of the comments with this CSS, but is doesn't fix the page width issue.

#comment {
width:1200px;
margin-left: 0pt;
margin-right: auto;
}
Attached Images
 
__________________
http://www.vijayraman.com
Old Oct-25-2010, 12:55 PM
#2
jfriend is online now jfriend
Scripting dude-volunteer
Please post a link to a particular gallery that has this issue so we can see for ourselves.
__________________
--John
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Oct-25-2010, 01:11 PM
#3
VRaman is offline VRaman OP
Big grins
Quote:
Originally Posted by jfriend View Post
Please post a link to a particular gallery that has this issue so we can see for ourselves.
Thanks John.

http://www.vijayraman.com/Portfolio/...42775432_8NgvU
__________________
http://www.vijayraman.com
Old Oct-25-2010, 01:28 PM
#4
jfriend is online now jfriend
Scripting dude-volunteer
I don't see the effect you're talking about at all. When I take out the CSS you put in for the comments, the page behaves normally for me - same as any other gallery, even one with no comments.
__________________
--John
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Oct-25-2010, 01:40 PM
#5
VRaman is offline VRaman OP
Big grins
Quote:
Originally Posted by jfriend View Post
I don't see the effect you're talking about at all. When I take out the CSS you put in for the comments, the page behaves normally for me - same as any other gallery, even one with no comments.
Thanks for checking. On this particular page, I am able to scroll left to right, as there is space added to the right. You can see it on the screenshot. There is also a vertical bar added on the top right, next to "View Cart". None of the galleries without comments have any extra space to the right. I also tried a short comment and it didn't cause any problems, only when the text took up more than one line in the comments. I am seeing it both on Safari and Firefox. Not sure why it displays properly for you, but not for me.
__________________
http://www.vijayraman.com
Old Oct-25-2010, 02:01 PM
#6
jfriend is online now jfriend
Scripting dude-volunteer
Quote:
Originally Posted by VRaman View Post
Thanks for checking. On this particular page, I am able to scroll left to right, as there is space added to the right. You can see it on the screenshot. There is also a vertical bar added on the top right, next to "View Cart". None of the galleries without comments have any extra space to the right. I also tried a short comment and it didn't cause any problems, only when the text took up more than one line in the comments. I am seeing it both on Safari and Firefox. Not sure why it displays properly for you, but not for me.
I see it now. The issue is caused by this piece of your CSS:

Code:
/* align footer on one line */
#feeds {
   position: relative;
   width: 200px;
   margin: 0 auto;
   left: 276px;
   top: -30px;
}
The problem is caused by a really poorly written theme (Carbonite) that makes it very difficult to override anything in the theme (including the width of the feeds div).

You can fix the issue by removing the CSS you put in for the comments and then change the feeds block of CSS to this and then adding the block in red:

Code:
/* align footer on one line */
#feeds {
   position: relative;
   margin: 0 auto;
   left: 330px;
   top: -30px;
}

#bodyWrapper #cobrand_footer #feeds {width: 200px !important; text-align: left;}
__________________
--John
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Oct-25-2010, 02:32 PM
#7
VRaman is offline VRaman OP
Big grins
Thanks so much John! I appreciate your help.
__________________
http://www.vijayraman.com
Tell The World!  
Similar Threads Thread Starter Forum Replies Last Post
Can I delete gallery comments? jaimiedee SmugMug Support 1 Jul-15-2010 03:17 PM
Remove "This is a brand new gallery with no photos" from empty gallery? lgoodwin SmugMug Customization 13 Nov-25-2009 06:38 AM
Gallery comments kwehunt SmugMug Customization 0 Aug-17-2007 11:38 AM
how to change color of the comments added in the gallery comment section? nonilady SmugMug Customization 3 Feb-01-2006 06:59 AM
Using tables in customise gallery - empty space! itchyfeet SmugMug Support 2 Jun-25-2005 05:38 AM


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