Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #245599
    earnest_m
    Participant

    Hi, I would like to create a jumbotron/hero on my homepage. I am wondering if it would be possible to move the promotion message and button below the header image up so that it lays over the header image.

    #245634
    Skandha
    Keymaster

    @earnest_m: Hello there,
    It is not possible to have a jumbotron in the homepage with the available theme options.
    To move the promotion message and button below the header image you will need to create a child theme and do some customization. Let me know if you are familiar with child theme customization otherwise I suggest you to hire a customizer.

    Kind Regards,
    Skandha

    #245650
    earnest_m
    Participant

    Hi Skandha,

    Thanks for your message. Yes, I have created a child theme. It includes a style.css and header.php file.
    If you know of a way to move the promotion message up so that it sits over the top of the header image then I would be most grateful if you could explain how to do that. Many thanks in advance.

    #245651
    Skandha
    Keymaster

    @earnest_m: Hello there,
    Can you please post in your site URL so that it would be easier for me to provide you the necessary code?

    Kind Regards,
    Skandha

    #245652
    earnest_m
    Participant

    I am working from a local deveopment environment.
    Here is a screenshot of my page – https://i.imgur.com/rwu0nwd.jpg

    I will eventually edit the front page of this website, removing the slider to make the header image: https://cmpf.eui.eu/

    #248042
    Skandha
    Keymaster

    @earnest_m: Hello there,
    Sorry for the late reply.

    Go to => Child Theme Folder => functions.php and add the following Code.

    function add_remove_action() {
    	remove_action( 'fullframe_before_content', 'fullframe_promotion_headline', 50 );
    	add_action( 'fullframe_before_content', 'fullframe_promotion_headline', 15 );
    }
    add_action( 'after_setup_theme', 'add_remove_action' );

    Let me know if this works out!
    Kind Regards,
    Skandha

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Promotion message over Header image’ is closed to new replies.