Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author agentevolution

    (@agentevolution)

    The plugin doesn’t set any background colors on the content area. Your theme is supposed to handle that.

    Copy the template files (single-listing.php and archive-listing.php) included in the plugin in the /includes/views/ folder and add them to your theme so they will take precedence.

    You’ll then need to add the same markup structure used by your theme so the CSS from your theme carries over. Either add id="main" to the <section> element or create a new <div id="main"> before the WP Listings markup. If you choose the latter, just be sure to include a closing </div>

    Or instead of using the included template files, you can create your own page and use the shortcodes provided.

    Thread Starter ed

    (@wesleysoccer)

    where do you want me to add the markup? What file?

    I did move the template files over.

    Plugin Author agentevolution

    (@agentevolution)

    The files you moved over (single-listing.php and archive-listing.php). Add your theme’s markup to before the plugin’s markup. i.e. the <section> element.

    Thread Starter ed

    (@wesleysoccer)

    I moved <div id=”main” class=”container”> to single-listing.php and added before <div class=”entry-content wplistings-single-listing”> but no luck.

    Plugin Author agentevolution

    (@agentevolution)

    It’s not showing in your source code so you’ve not done it correctly.

    Also if you added it to single-listing.php it would have no effect on the link you shared – that’s an archive page.

    While we make every effort for the templates to be compatible with the widest number of themes, all themes have different markup structures. We don’t guarantee it will work with your theme, but we provide the templates for you to customize to your needs. Customization for your theme is beyond the scope of the support forum.

    Thread Starter ed

    (@wesleysoccer)

    I took the code out…I will add again.

    Thread Starter ed

    (@wesleysoccer)

    So I got everything done but for some reason the background around the top title is still transparent but everywhere else it’s great. see here and thanks for all the help: https://wooderice.com/property-listing/beautiful-3-story-house-heart-fishtown/#.U6rcm6gWeeE

    Plugin Author agentevolution

    (@agentevolution)

    It’s because you’ve added it to the single_listing_post_content() function which displays after the post title. Scroll down near the bottom until you see this:

    <div id="primary" class="content-area container inner">

    You’ll want to add your <div id="main" class="container"> right before that. And the closing </div> after this:
    </div><!-- #primary -->

    Thread Starter ed

    (@wesleysoccer)

    thanks…that worked but dropped my sidebar?

    Thread Starter ed

    (@wesleysoccer)

    i just deleted the last closing </div> and it’s works great. thanks for the amazing support.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘background transparent’ is closed to new replies.