Controlling text size in all gallery "Descriptions"
WildWorld
Registered Users Posts: 27 Big grins
I'm wondering if anyone knows if there's a way to change the text size for the "Descriptions" in all galleries at one go. At present I'm using the code <span style="font-size: 13pt"> to set the text size for each gallery. To change the text size for all galleries, I have to go to the edit descriptions box for each gallery individually and change the pt number eg 13 pt to 14 pt.
0
Comments
descriptions I've managed to override most of it on NewSmug using this class name added in "all galleries" CSS.
.sm-gallery-description {....}
My Website index | My Blog
Change font size and color as required.
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Very much appreciated
www.acecootephotography.com
i was wondering what I m doing wrong. I copied the css command you posted in the custom css of my theme. Once I saved it everything is still the same. It seems to have no effect.
However I tried several other commands and they all dont work or do nothing. So i m pretty sure i m doing something wrong,but I cant get my head around the problem.
Your help is greatly appreciated.
Chris
This is an old thread and I think the code has changed. If you want to change the color or size for the gallery descriptions use this:
If you ant to change the color or size of the gallery titles use this:
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
so good to know that its not my mistake but just an old command. I didnt expect codes to change haha. Feels so good thanks heaps!
Is there a page, where I can find all this up-to-date commands so that i dont have to ask every time? I mean I dont mind asking but you probably answer tons of comments each day :)
What is the command in order to customise the font? This is what I found but it doesnt seem to work either. font-face: Arial;
Best wishes and thanks for solving my problem!
Chris
Only the class names and ID's on a page probably have changed, the parameters in the CSS are the same.
One of many references: https://www.w3schools.com/cssref/
My Website index | My Blog
Thanks a lot @Allen
this issue is completely solved for me now and the reference is a great help to look for yourself!
I think SM changed things when they added cover images.
.sm-gallery-description
wasn't working anymore. Had to use.sm-user-ui .sm-gallery-cover .sm-gallery-cover-description
and.sm-user-ui .sm-gallery-cover .sm-gallery-cover-title
for titles.Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk