Archive item cramming

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

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

Open Support Ticket
  • Author
    Posts
  • #518125

    vivek
    Full Member
    Post count: 246

    Hi, I am trying to cram shortcodes into the archive item using the alignment param as i read in one of Paolo’s comments in this forum.

    However, i am not able to get more than one shortcode in one line, even if i align differently left and right, they appear on different rows (see image)

    This is what my archive item looks like:

    [gd_archive_item_section type=’open’ position=’left’][gd_post_images type=”image” ajax_load=”1″ link_to=”post” types=”image_test” limit=”1″ limit_show=”1″ image_size=”medium”][gd_archive_item_section type=’close’ position=’left’][gd_archive_item_section type=’open’ position=’right’][gd_post_title tag=’h2′]

    [gd_post_meta key=”arealocality” show=”value” alignment=”left”]
    [gd_post_rating alignment=”left” show=”stars”]
    [gd_post_badge key=”featured” condition=”is_not_empty” badge=”Verified” bg_color=”#0073aa” txt_color=”#ffffff” alignment=”right”]
    [gd_post_distance]

    [gd_archive_item_section type=’close’ position=’right’]

    Any suggestions on how i can get the stars and verified badge in the same line?

    thanks very much,
    Vivek

    #518139

    Alex Rollin
    Moderator
    Post count: 27815

    Shortcodes for badges placed on one line in an HTML block or a classic edit should render on one line and then wrap.

    Make sure the archive shortcodes are inside an HTML block. If you use a classic editor block some themes will insert br or p tags.

    If that isn’t the issue we will need credentials and a link to take a look.

    #518235

    vivek
    Full Member
    Post count: 246
    This reply has been marked as private.
    #518387

    Kor
    Moderator
    Post count: 16516

    Hi Vivek,

    Thanks for your reply. Could you try using the custom CSS code below and see if it fixes it?

    .geodir_post_meta.gd-rating-info-wrap.gd-align-left.geodir-post-rating-value-0 {
        width: 50%!important;
        clear: both!important;
    }
    #518592

    vivek
    Full Member
    Post count: 246

    Thanks very much, Kor – that worked perfectly!

Viewing 5 posts - 1 through 5 (of 5 total)

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

Open Support Ticket