Hi there, I am using the Directory Theme V9.4.0 (No Child Theme). I created a Listing Page Elementor Template and the default Listing header disappeared. How can I get the Listing Page to show the default header again (with the small map, address etc)? I tried shortcodes and different elements with no luck. See “Default-Listing-Header.jpg” image what I mean. Thank you Francois
Francois – it’s [SINGLE] Title Full Width under WordPress.
Thanks very much Rene, just what I was looking for.
Do you or anyone know how I can change the background image of the [SINGLE] Title Full Width widget? Currently it automatically uses the Main Image of the listing, but I want to set it to a custom image.
I tried adding a background image with Elementor under the Advanced Tab, but it doesn’t seem to work – it still shows the listing’s default image which is poor quality.
Sorry still battling that one myself 🙂 Will let you know if I find a fix.
Do you or anyone know how I can change the background image of the [SINGLE] Title Full Width widget?
Thank you JamesD
But actuality I was looking at changing the image to a default background image for all listings. I see that editing the Listing Theme with Elementor has options for Background Image/Color, but it does not work.
Then you’ll need to edit a file. You’ll need to edit the core file.
Either create a sub-directory in your child theme directory called widgets and copy the file /DT9/widgets/widget-single-title.php into it then edit. (recommended method) OR Edit the core file /DT9/widgets/widget-single-title.php itself.
To edit… open the file you’re planning to use and at the top (around line #15) you’ll see <?php echo do_shortcode('[IMAGE pathonly=1][/IMAGE]'); ?>. Replace that line with the image URL you would like to use. Save the file and reload the page.
<?php echo do_shortcode('[IMAGE pathonly=1][/IMAGE]'); ?>
Note: Don’t forget to make a backup of all files you edit before editing them!
Hope it makes sense.
Replace that line with the image URL you would like to use. Save the file and reload the page.
Sorry, didn’t mean the whole line, just replace that snippet portion.
Thanks for sharing James 🙂
Thanks James -that solved my issue as well.
Francois I found that it still changes your background image so I deleted these as well <div class=”overlay”> <div class=”wrap”> <div class=”overlay2″>
I then just changed the top margin in Elementor to accommodate the map. Hope that helps as I found this widget to be a bit too big for me.
Thanks for sharing Rene 🙂
Thank you all, appreciate a lot.
@Francois @Marie You’re welcome.
“I found that it still changes your background image so I deleted these as well…”
Sounds like something was different. You shouldn’t have to remove any additional elements. Be sure to take care when removing elements, it could have unexpected results.
Start your new website today!