• Resolved ashop1

    (@ashop1)


    Hello, I want to put the menu text above in the flyer popup in my case orange as you will see in the images that I attach.
    
    I want to do it through programming, I suppose it is to add a div or write inside the div and if not wrong I would do it in the template that I show you below.
    
    Could you give me the fragment that would go there? because I tried with some lines and it gave me a fatal error.
    
    please. I attach the images and the code where I think it would go:

    screenshot with the location where I need the text (where is the orange color): https://ibb.co/XyDjh8Q

    in mobile-builder-layout:
    <div class=”ast-mobile-header-content <?php echo esc_attr( $alignment_class ); ?>”>
    <?php do_action( ‘astra_mobile_header_content’, ‘popup’, ‘content’ ); ?>
    </div>
    <?php }?>
    </div>

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @ashop1 ,

    Thanks for writing in! I hope you won’t mind if I share a solution with you using CSS.

    Here is the CSS code that might help you in adding your desired content to the flyout menu:-

    .ast-mobile-popup-header:before{
    
        content:"My menu";
        margin:0 auto;
        padding-top:10px
    
        }

    I am sure this would help. ??

    Thread Starter ashop1

    (@ashop1)

    perfect, it works great and also taught me something new I did not know that you could add text with css. Have a great day!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘menu text in header popup flyer’ is closed to new replies.