- This topic has 11 replies, 2 voices, and was last updated 7 years, 4 months ago by Theme Horse Support Team.
-
AuthorPosts
-
August 9, 2017 at 7:17 am #52647HeidiParticipant
Hi! I have need to use logo slider on top of the site, before logo+mainmenu area. I found this plugin (https://themepalace.com/downloads/wen-logo-slider-pro/) and all it needs is to paste this code to template: <?php echo do_shortcode(“[WLS id=’3767′]”); ?>
I just don’t know where to paste it. I tried few places but slider always appears below header area (on front page after image slider).
Can I get help for this?August 9, 2017 at 7:58 am #52648Theme Horse Support TeamKeymasterHi Heidi,
You like to add that plugin shortcode in the theme? Code customization is required. We recommended you not to change the code. If you change the code then while updating to new version all your customized code will be lost. So better make child theme so that your content will not be lost.
If you are not familier with it then hire a developer to fix it or make direct changes in the code and each and every time when you update to new version the same shortcode you need to add it again.
Go to theme folder -> inc -> structure -> header-extension.php on line no 143 and 147 you will find below code and replace it with your shortcodes.
<a href="<?php echo esc_url(home_url('/'));?>" title="<?php echo esc_attr(get_bloginfo('name', 'display'));?>" rel="home"> <img src="<?php echo $header_logo;?>" alt="<?php echo esc_attr(get_bloginfo('name', 'display'));?>"></a>
with<?php echo do_shortcode(“[WLS id=’3767′]”); ?>
Thank you!
August 9, 2017 at 8:29 am #52651HeidiParticipantHi, I don’t want to replace anything, I just need horizontally scrolling logos above the themes logo + mainmenu area. Logo slide can be added with code <?php echo do_shortcode(“[WLS id=’3767′]”); ?>
August 9, 2017 at 9:53 am #52653Theme Horse Support TeamKeymasterHi Heidi,
On line no 118 and 140 you will find
<section id="site-logo" class="clearfix">
add your shortcode after this mentioned code.Thank you!
August 9, 2017 at 1:06 pm #52655HeidiParticipantHi it did not work at all. I tried to put the code to other row (154) and got this (see image link). I is what I need but does not look good yet because of margin below logo slider..
August 10, 2017 at 5:40 am #52662Theme Horse Support TeamKeymasterhi Heidi,
Please put that logo in your live site and provide us the site url and we will see and provide you the specific custom css code to remove the margin. We cannot provide you the code without viewing your site.
Thank you!
August 10, 2017 at 7:54 am #52664HeidiParticipantHi, I added it to test page only for now, see http://www.valepa.fi/testi/
It does not work on mobile nicely but I think that maybe I’ll have to ask support for that from plugin developer?August 10, 2017 at 11:57 am #52668Theme Horse Support TeamKeymasterHi
Please add your shortcode before
<div class="hgroup-wrap">
at theme folder -> inc -> structure -> header-extension.phpThank you!
August 10, 2017 at 1:46 pm #52669HeidiParticipantOk, I did it, now there is a margin http://www.valepa.fi/testi/
August 11, 2017 at 9:48 am #52689Theme Horse Support TeamKeymasterHi Heidi,
Go to Appearance -> Customize -> Ambition Theme Options -> Custom CSS paste the following CSS code and Click on save all changes button:
.slick-slider { margin-bottom: 0; } .wls-wrap { padding: 0; }
Thank you!
August 14, 2017 at 4:19 am #52709HeidiParticipantHi! Thank you so much!
August 14, 2017 at 4:51 am #52712Theme Horse Support TeamKeymasterYou welcome Heidi
Thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.