SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist cgacfox's Avatar
    Join Date
    Feb 2005
    Location
    Colorful Colorado
    Posts
    412
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Wanting to add a line of text below Fancybox image thumbnail.

    I am in the process of redesigning my business site and am using Fancybox 2 for my portfolio. I want to add a line of text below each thumbnail so that the visitors can see the url of the site. I have margins set to a certain width and every time I try to add the text, it throws off the alignment. Could someone please help me with this? Thanks. FYI, I know that I need to clean up the images as they are blurry.

    http://foxdenwebsolutions.com/foxden3/portfolio.html

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,167
    Mentioned
    453 Post(s)
    Tagged
    8 Thread(s)
    If you make a test page with the captions in the code (or just do it on the page you linked to), we can suggest how to get them looking right. Given your current setup, it might be best to put the text inside a span next to each image. That will provide an adequate hook for styling.

  3. #3
    SitePoint Evangelist cgacfox's Avatar
    Join Date
    Feb 2005
    Location
    Colorful Colorado
    Posts
    412
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi Ralph. I took your suggestion of a span and came up with something that seems to work. You may use the link above to check it out. I originally wanted to make this site responsive but as I go, I may have to scrap that.

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,167
    Mentioned
    453 Post(s)
    Tagged
    8 Thread(s)
    There shouldn't be any barrier to making it responsive. It's all to do with planning your layout. Anyhow, are you happy with what you've got now?

  5. #5
    SitePoint Evangelist cgacfox's Avatar
    Join Date
    Feb 2005
    Location
    Colorful Colorado
    Posts
    412
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    It works. I will have to figure out what to get rid of image-wise for responsive. Background will definitely go as it is large or I will figure out how to shrink it. I love making graphic heavy sites as you well know. This will take some thinking about to make it responsive. I do thank you again for your suggestion of using span.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •