I was supplied help previously to load a secondary image into the main header to sit to the right of the normal image. The help was code which was loaded into the Enfold: Theme (functions.php) file and looks as follows:-
require_once( ‘functions-enfold.php’);
function after_head_image_func(){
echo “<div class=’custom_content’></div>”;
}
add_action(‘ava_main_header’, ‘after_head_image_func’);
However I now need additional padding code so that I can move the image further up and to the left. Can you please provide this?
Best regards
Stuart
Hey Stuart!
Can you please post the link to your website so we can provide you an accurate custom CSS code?
Regards,
Yigit
Hi!
Please add following code to Quick CSS
.custom_content {
position: absolute;
top: -25px;
right: 10px;
}
Cheers!
Yigit
Hi Stuart!
Try adding this:
@media only screen and (max-width: 767px) {
.custom_content {
top: 75px;
}
}
Cheers!
Josue
All done.
Thank you.
Best regards
Stuart
You are welcome Stuart, glad to help :)
Regards,
Josue