Hello,
I would like to align, left under the H1 heading but it seems to align left to the entire page. How can I do this? User info is below
Hey virtualbis,
Please try to set it to left alignment, then add this to Quick CSS:
#sub_menu1 {
padding-left: 39px;
}
Best regards,
Rikard
Hi Rikard,
Since opening the post I have decided the full width menu won’t work like a normal menu and I would need to duplicate this for each page.
I would like to use a real submenu or maybe the secondary menu but BELOW the main menu. Are you able to help me with this?
Ok, I have added the secondary menu and it shows up at the top left. I need t move it down below the H1 and breadcrumbs. Can you help with the css and in the php files if needed to get it there? I will need to style it slightly but want to get it into position first.
I just managed to move it down by adding the following:
.sub_menu {
top: 190px;
}
This puts it in the right spot before scrolling but I need it to scroll with the page. Is someone around to help? Tight deadline
Hi,
Thank you for your patience, as I understand your request you would like your custom div “main-breadcumrs” to stay on top of the title bar as the page scrolls, so it scrolls away.
Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:
function custom_script() { ?>
<script>
(function($) {
$(function() {
$('.main-breadcumrs').detach().insertBefore('.title_container');
$('#main').css({ 'padding-top': '120px'});
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'custom_script');
Best regards,
Mike