Customizing outside title
- This topic has 2 replies, 2 voices, and was last updated 6 years ago by .
- You must be logged in to reply to this topic.
Your Account / Forums / Easy FancyBox Pro / Customizing outside title
I have customized the outside titles in Fancybox at this site, https://soagannex.art/december-juried-show/. Works fine. Looks fine, except for one small issue. The width of the title spans the width of #fancybox-wrap. This creates unsightly wide left and right margins when titles are much shorter than the allocated space. I can fix this by using { display:inline-block } for #fancybox-title. But then the title is no longer centered! I have messed around with CSS to no avail.
Is there some way I can have the width of the title block scaled to fit the text, and at the same time have the title block centered?
Much obliged for any help.
Never mind. I figured it out. I mixed up the lineage of #fancybox-title-outside and .fancybox-title-outside.