JCLAY Posted February 11, 2013 Share Posted February 11, 2013 (edited) My CSS has the following but my captions are still not centering under photos. Any ideas? Thanks. .thumbnail-caption { font-family: helvetica; font-size: 12px; text-align: center; color: #000000; background: ; padding: 2px 0; } Edited March 5, 2013 by JCLAY Retag StyleTherapy, happy habitat, NineWindBao and 1 other 4 Link to comment
foleyatwork Posted February 11, 2013 Share Posted February 11, 2013 Can you add a link to your site? Developer Evangelist at Squarespace. Link to comment
MakeNice Posted March 5, 2013 Share Posted March 5, 2013 I'm also struggling to find a solution to this. Oh please oh please will someone help?! Link to comment
MakeNice Posted March 5, 2013 Share Posted March 5, 2013 I'm trying to center the names under each image. ie Emma Cook, Jade Klara and whoever gets added later. It's http://www.alexandersband.com/artists/ Link to comment
Solution subpar Posted March 5, 2013 Solution Share Posted March 5, 2013 (edited) Try this in the Custom CSS Editor: .sqs-block.image-block .image-caption-wrapper p { text-align: center !important; } Edited March 5, 2013 by subpar frazzledgraphics, Nick2491 and sayreambrosio 3 Web and mobile developer. Link to comment
KateS Posted March 24, 2013 Share Posted March 24, 2013 Worked perfectly for me! Thank you! Link to comment
happy habitat Posted November 25, 2013 Share Posted November 25, 2013 i love it when things work out! thanks for this! easy as pie. Link to comment
davidrd85 Posted March 21, 2014 Share Posted March 21, 2014 Great solution! Just what I was looking for as well. Link to comment
Hazel Posted December 18, 2016 Share Posted December 18, 2016 Thank you!! worked like a charm for me too! :) Link to comment
VeeBee Posted November 14, 2017 Share Posted November 14, 2017 Worked perfectly. Thank you! Link to comment
Kico Posted August 26, 2020 Share Posted August 26, 2020 How do you apply to mobile view as well? Link to comment
scotty321 Posted November 11, 2021 Share Posted November 11, 2021 And to center captions underneath videos, use this CSS code: .sqs-block.video-block .video-caption-wrapper p { text-align: center !important; } tuanphan 1 Link to comment
Terry-Schilling Posted June 27, 2023 Share Posted June 27, 2023 This code did not work on centering the "Description" under an image in a Gallery. Link to comment
Terry-Schilling Posted June 27, 2023 Share Posted June 27, 2023 Can you make that code available to me? Reference page in my website: https://harp-magnolia-6hy6.squarespace.com/config/pages You still have to select "Gallery" to display the issue. Link to comment
tuanphan Posted June 27, 2023 Share Posted June 27, 2023 1 hour ago, Terry-Schilling said: Can you make that code available to me? Reference page in my website: https://harp-magnolia-6hy6.squarespace.com/config/pages You still have to select "Gallery" to display the issue. Can you share link to page where you use Gallery? https://harp-magnolia-6hy6.squarespace.com/?noredirect Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment