Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #218395

    Hi – I need some guidance on how to add text after the calculated price and add some generic disclaimer text under the total price.

    As a picture is worth a thousand words, I’ve attached a jpg that easily explains what I am trying to do.

    Thanks!
    John

    • This topic was modified 10 years, 9 months ago by sundialstudios. Reason: Clarification
    #218654

    Hey John!

    I don’t see the attached image, also a link to your shop would be helpful.

    Cheers!
    Josue

    #218785

    Weird, it’s there when I edit it…

    View Image

    Sorry, the link is here.

    #218873

    Hey!

    Try adding this code to the Quick CSS:

    .single_variation .price .amount:after {
        content: " (Per Person)";
    }
    .variations_button:after {
        content: "some generic text";
        display: block;
        clear: both;
        text-align: center;
        padding: 10px 0;
    }

    Change some-generic-text by the text of your preference.

    Cheers!
    Josue

    #218915

    Never too smart to learn something new… I have NEVER seen or used the :after option before, this opens up a whole new world!

    Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Add Text After Calculated Price’ is closed to new replies.