hi on the renew stack on single product there is no next product arrow or link to shop page.
there is when we chose ethos.
please can you let me know how i can add the links on top of the single product on renew stack
hi on the renew stack on single product there is no next product arrow or link to shop page.
there is when we chose ethos.
please can you let me know how i can add the links on top of the single product on renew stack
Hi There,
To achieve that, you should setup a child theme first:
After that add this custom code under functions.php file locates in your child theme:
add_action( 'x_after_view_renew__landmark-header', 'print_renew_top_navigation' );
function print_renew_top_navigation(){
if(is_singular( 'product' )){
echo '<div class="x-container max width">';
x_ethos_entry_top_navigation();
echo '</div>';
}
}
Let us know how it goes!
hi thank you so much… that code worked…
just one more thing please…
it is showing on the left
how can i have it placed on the top right like the ethos theme.
thanks so much
Hi,
Can you provide your site url so we can take a closer look.
For the mean time, try changing the provided to this.
add_action( 'x_after_view_renew__landmark-header', 'print_renew_top_navigation' );
function print_renew_top_navigation(){
if(is_singular( 'product' )){
echo '<div class="x-container max width">';
echo '<div style="float:right;">'.x_ethos_entry_top_navigation().'</div>';
echo '</div>';
}
}
Hope that helps
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.