on the site I am building at
https://vintageisland.com.au/
front end pw = tiki
if you look at an individual product
eg https://vintageisland.com.au/product/10cm-moulded-coco-joes-tiki-hawaiian-2/
the Widget is not aligning to the right – it is dropping down below the product info and aligning to the left
there is plenty of room for it to align right and most of my products only have a short description
Hey smarta-brett,
Best regards,
Victoria
Hi Victoria
no I am not – it loads fine for me here
hi Victoria
did you manage to get access?
the front end password is ” tiki “
Hi,
Sorry for the late reply and thanks for the link. For product pages, the correct placement of the sidebar is below the product main image. If you would like to move the sidebar to the right so you have 3 columns, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:
.avia_desktop #top.single-product #main > div > .container {
max-width: 95% !important;
}
.avia_desktop #top.single-product #main .sidebar.sidebar_sidebar_right {
margin-left: 0;
width: 20%;
float: right;
padding-top: 0 !important;
}
.avia_desktop #top.single-product #main .single-product-summary {
width: 35%;
float: left;
}
Feel free to adjust this css to suit.
Then add this code to the end of your functions.php file in Appearance > Editor:
function custom_script(){
?>
<script>
(function($){
$(document).ready(function(){
$( '.avia_desktop #top.single-product .sidebar_right.template-shop' ).each(function() {
$( this ).find( '.sidebar_sidebar_right' ).insertAfter( $(this).find('.single-product-summary') );
});
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'custom_script');
Then clear your browser cache and check.
Best regards,
Mike