• Resolved Supplement Genie

    (@supplementgenie)


    I am trying to add functionality to my description to to add a show more button. the description should initially show a snippet and allow the user to click show more if they want extra info on the brand. I done the same with categories using:

    <div><input id=”post-1″ class=”read-more-state” type=”checkbox” />
        <div class=”read-more-wrap”>
            <h2>Heading 2</h2>
            <p>Main snippet.</p>
            <div class=”read-more-target”>
                <p>Additional Info.</p>
                <p>Additional Info 2.</p>
                <p>Additional Info 3</p>
            </div>
        </div>
        <label class=”read-more-trigger” for=”post-1″></label>
    </div>

    I read that PWB only allows
    <p><span><a><ul><ol><li><h1><h2><h3><h4><h5><h6><pre><strong><em><blockquote><del><ins><img><code><hr>

    from this I cannot see a suitable element to replace div can anyone recommend?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor titodevera

    (@titodevera)

    Hi Supplement Genie.

    It supports shortcodes, so I recommend you create a custom shortcode with your advanced markup.

    ??

    Thread Starter Supplement Genie

    (@supplementgenie)

    @titodevera Thank you for your reply.

    One other thing I was wondering is brand logos. Is there any way to have the brands logo appear in the description?

    When I add a logo, they appear under every product so there are lots of logos all over the screen.
    I would like to add just one logo in or around the description. is this possible?

    Guys,

    I am building a custom product page with the woocommerce short codes, using wordpress theme Flatsome.

    What short code can i use to show a brand image for a single product?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Alternative to DIV’ is closed to new replies.