Styling of Output Location

This topic contains 9 replies, has 3 voices, and was last updated by  Alex Rollin 5 years, 2 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #471008

    Shane
    Buyer
    Post count: 149

    Hi all,

    Quick question, not a problem 🙂

    I want to style the [gd_output_location location=’listing’] element in the Archive Details page.

    As you can see in the sceenshots below there are a lot of blank spaces and empty lines output.

    One is the output on the main Archive Listings page and the other is the GD-Listings widget.

    The 3rd is the Inpector where you can see that there are a few manual line breaks added before and after the element.

    I’d like to clean it up, ie., Padding, Margins, Manual line breaks etc. but don’t know the correct place to do so.

    I read about hiding details using CSS such as
    span[itemprop=”streetAddress”],
    span[itemprop=”addressLocality”],
    span[itemprop=”postalCode”] {
    display: none;
    }

    But this isn’t my issue.

    What file, do I need to edit?
    Is it CSS or do I need to edit the HTML output of a different file?

    Thanks again 🙂

    #471049

    Kor
    Moderator
    Post count: 16516

    Hi Shane,

    Thanks for your post. It looks like an incompatibility with your theme. Could you share the URL of your site in question so that we could check on it?

    Thanks!

    #471061

    Shane
    Buyer
    Post count: 149
    This reply has been marked as private.
    #471078

    Alex Rollin
    Moderator
    Post count: 27815

    Did you edit the Archive item template with BB, or …?
    Can you provide a link to the edit page for that particular Archive item, please?

    Depending on how the page is built, there can be some inconsistancies.
    for example, if you are adding all the shortcodes on different lines and using a classic editor block, naturally some markup is added (right?).

    Try using an HTML block so the editor doesn’t add an markup.

    #471098

    Shane
    Buyer
    Post count: 149
    This reply has been marked as private.
    #471107

    Alex Rollin
    Moderator
    Post count: 27815

    OK, yes, you used the shortcode block.
    Try using the HTML block instead.

    #471110

    Shane
    Buyer
    Post count: 149

    I’ll try that Alex.

    Thanks.

    #471120

    Shane
    Buyer
    Post count: 149

    As we say here…

    Now you’re suckin deisel!

    Seems to have worked a treat.

    Now one last thing… (there always is 🙂 )

    Can I use CSS to style or hide some items in Widget or is there a setting I can use.

    For example, in the widget area I might just want the Picture, Title and Address.

    Thanks

    #471136

    Alex Rollin
    Moderator
    Post count: 27815

    Great! We have been looking at this, and we are also keeping an ear out for how themes render blocks, too.

    Thanks for letting us know

    #471137

    Alex Rollin
    Moderator
    Post count: 27815
Viewing 10 posts - 1 through 10 (of 10 total)

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

Open Support Ticket