Customizing outside title

Forums Easy FancyBox Pro Customizing outside title

Viewing 2 reply threads
  • Author
    • #30002
      Timothy Larkin

      I have customized the outside titles in Fancybox at this site, 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.

    • #30003
      Timothy Larkin

      Never mind. I figured it out. I mixed up the lineage of #fancybox-title-outside and .fancybox-title-outside.

    • #30006

      Great work! 🙂

Viewing 2 reply threads
  • You must be logged in to reply to this topic.