Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1419476

    Hi,

    I need to push 2 x telephone numbers above my header.
    Is this best done as extra elements in the header
    I also need to add coding so the phone numbers link
    Where do I colour style the background and number colour? White copy #ffffff on Grey #969696

    Thanks

    #1419520

    Hey woogie07,

    Thank you for the inquiry.

    You can add the phone in a text widget, then insert it to the header using an action hook. Please check the documentation below for more info.

    // https://kriesi.at/documentation/enfold/header/#adding-a-header-widget-area

    Best regards,
    Ismael

    #1419546

    If I use the standard ‘Extra element’ to add copy to the top.

    1/ Where/what coding do I need to add so the phone numbers link
    2/ Where do I colour style the background and number colour? White copy #ffffff on Grey #969696
    3/ What is the CSS to make the font larger?

    #1419564

    Hi,

    1. https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_link_phoneto

    2 and 3:

    header_meta {
        background: #969696;
    }
    .phone-info div {
        color: #fff;
        font-size: 14px;
    }

    Best regards,
    Rikard

    #1419846

    hi

    Is there any coding that can be added that makes the phone number top section sticky on desktop and mobile – without effecting any other sections?

    Thanks

    #1419895

    Hi,

    Thank you for the update.

    makes the phone number top section sticky on desktop and mobile

    Yes, that should be possible. Please add this css code and make sure that the Enfold > Header > Header Behavior > Unstick Topbar option is deactivated.

    #header_meta {
        position: fixed;
        width: 100%;
    }
    
    #header_main, .header_bg {
        top: 30px;
    }

    Best regards,
    Ismael

    #1419902

    Thanks

    That makes the number sticky but not the main header/logo+burger menu.

    It may be my cache but the number secondary top menu is not sticky on desktop.

    Thanks

    #1419977

    Hi woogie07,

    Please add Ismael’s code again and then add this CSS code as well:

    #top #header {
        margin-top: 0 !important;
    }

    Let us know if it helps.

    Best regards,
    Nikko

    #1420003

    Thanks

    The logo and burger menu still aren’t sticky on mobile?

    #1420117

    Hi woogie07,

    Please try to add this CSS code:

    @media only screen and (max-width: 767px) {
      .responsive #top #wrap_all #header {
        position: fixed;
      }
    
      .responsive #top #wrap_all #main {
        padding-top: 113px !important;
      }
    }

    Best regards,
    Nikko

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