Add div within shortcode

This topic contains 16 replies, has 3 voices, and was last updated by  milettic 5 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #491086

    milettic
    Expired Member
    Post count: 240

    I am using elementor and trying to achive something like this on GD Details Page:

    
    
    
    <div class="div-class">
    [gd_claim_post text="Claim this business" output="button"]
    [gd_post_badge key="claimed" condition="is_equal" search="1"]
    [gd_post_badge key="featured" condition="is_equal" search="1"]
    </div>
    

    I need to put absolute “div-class” div over the gallery and float left al badges. On the attached foto individual badges are “absolute” and they are one over/under, what is not good.

    Thank you

    #491113

    Alex Rollin
    Moderator
    Post count: 27815

    Yes, they will overlap if used in the same area with the same class so you will need custom CSS to move them about.

    In our demo we use them in different corners.

    I will ask the developers to consider providing advice about that.

    #491241

    milettic
    Expired Member
    Post count: 240

    I need to position them next to each other.
    I am waiting for a solution,
    Thank you

    #491242

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I’m not exactly sure what you are trying to do, can you provide a link to your site and more info and i will advise more.

    Thanks,

    Stiofan

    #491245

    milettic
    Expired Member
    Post count: 240
    This reply has been marked as private.
    #491305

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You want them app positioned in the top left?
    If i remember right Elementor shortcode input strips other html, i think u would need to use the html input instead to prevent the html wrapper being removed.

    Stiofan

    #491335

    milettic
    Expired Member
    Post count: 240

    Yes, top left inside the gallery photo.
    I’ve tried text, shortcode, HTML, and also to add the class to the element, but something eliminates all wrapper code. The only thing which remains is h tags.

    #491695

    Alex Rollin
    Moderator
    Post count: 27815

    There is also “WP shortcode”

    #491702

    milettic
    Expired Member
    Post count: 240

    ??? explain please

    #491731

    Alex Rollin
    Moderator
    Post count: 27815

    I had success adding shortcodes with the WP Shortcode element.
    I wrote about it here:
    https://wpgeodirectory.com/docs-v2/integrations/builders/

    #491747

    milettic
    Expired Member
    Post count: 240

    No, I still can’t figure out what you mean. Sorry, may I ask you to explain a little bit more? Thanks

    #492095

    Alex Rollin
    Moderator
    Post count: 27815

    There is an elementor element called WP Shortcode that often works well for shortcodes.

    #492276

    milettic
    Expired Member
    Post count: 240

    You think about this: https://docs.elementor.com/article/72-shortcode ?

    Doesn’t work in my case. I’ll send you the data for accessing the site please take a look. Thanks

    #492277

    milettic
    Expired Member
    Post count: 240
    This reply has been marked as private.
    #492354

    Alex Rollin
    Moderator
    Post count: 27815

    Hi

    You will continue to experience issues until you build with the pro theme builder. The page builder is not supported on template pages.

Viewing 15 posts - 1 through 15 (of 17 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount