Align additional ticket fields horizontally

Home Forums Ticket Products Event Tickets Plus Align additional ticket fields horizontally

  • This topic has 7 replies, 2 voices, and was last updated 8 years ago by salilou.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1490190
    salilou
    Participant

    Hi,
    I would like to align the additional ticket fields horizontally instead of vertically.
    Is there an easy CSS way to do that?
    Thank you!

    #1491619
    Victor
    Member

    Hi Hannes!

    Thanks for reaching out! Let me try to help you with this.

    It may depend on your theme styles, but you could achieve that with some custom CSS. You can learn more about how to add custom styles in our themer’s guide > https://theeventscalendar.com/knowledgebase/themers-guide/. You can also use the WordPress customizer to add CSS.

    To get you started, try adding the following CSS styles:

    .tribe-tickets-meta {
    float: left;
    }

    I hope that helps! 🙂 Let me know if any follow up questions.

    Best,
    Victor

    #1491632
    salilou
    Participant

    Thank you very much, this works.
    But when I add a second ticket the fields for attendee 2 are shown inline, but they should appear in a new line.
    How is that possible?

    #1492566
    Victor
    Member

    Hi Hannes!

    You are right. Try also adding the following styles:

    .tribe-event-tickets-plus-meta-attendee:last-child {
    clear: both;
    }

    Let me know if it works for you.

    Best,
    Victor

     

    #1494188
    salilou
    Participant

    Yess! Thank you! 🙂

    #1494190
    salilou
    Participant

    Its done.

    #1494406
    Victor
    Member

    Hi Hannes!

    Glad to know that works for you. Thanks for letting me know about it.

    I’ll close this thread now, but feel free to open a new topic if anything comes up and we’ll be happy to help. 🙂

    Cheers,
    Victor

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Align additional ticket fields horizontally’ is closed to new replies.