Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #316416

    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

    #316532

    Hey Stuart!

    Can you please post the link to your website so we can provide you an accurate custom CSS code?

    Regards,
    Yigit

    #316652
    This reply has been marked as private.
    #316657

    Hi!

    Please add following code to Quick CSS

    .custom_content {
    position: absolute;
    top: -25px;
    right: 10px;
    }

    Cheers!
    Yigit

    #317216
    This reply has been marked as private.
    #317738

    Hi Stuart!

    Try adding this:

    @media only screen and (max-width: 767px) {
        .custom_content {
            top: 75px;
        }
    }

    Cheers!
    Josue

    #317974

    All done.

    Thank you.

    Best regards
    Stuart

    #318285

    You are welcome Stuart, glad to help :)

    Regards,
    Josue

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.