Support » Theme: Atlast Business » stickymenu not working

  • Hello,

    i have activated sticky menu from the customize option yet it is not working in any of the pages. i tried using a plugin called mystickyheader but still not working. could you please help

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

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter janetrechel


    i tried using object fit aswell but it is not working. could you please help to remove cover and just fit the image in the header

    Theme Author Archimidis Mertzanos


    Dear @janetrechel
    in order to fit the image in the header you have to change a lot of code.
    as a last try you can try the following:

    .header-image-container {background-size:contain !important;} you have to use full images for example 1980px for width.

    If you want to make the background image an image then you have to change some code in the theme’s init.php file. However this require some good WordPress coding knowledge.

    Thread Starter janetrechel



    i was able to fix the header image issue finally. i tried the code you gave it didnt work. so i had to find some other work around. the header image gets cropped for tab and mob view though which is fine. the theme offers header text but there is no option to add different text to each page.Could you let know if there is an option to add custom text to each page. if you help me with some code i’ll work around it

    Theme Author Archimidis Mertzanos


    Dear @janetrechel.
    You can’t add different text per page. This requires a really custom solution.
    I could guide you however I can’t write down the code you will need because this would be an overkill, because you have to do a lot of steps to produce it. Unfortunately at the moment I don’t offer paid customization services so I cannot help you with that.

    So some tips in order to help you.

    1. In order to have different text to everypage you have to use a metabox – a custom field . You can download a custom fields plugins like ACF or and create this field in every page’s admin screen.
    2. Now the difficult part. You have to search the theme a bit.
      The header text is applied in the following file:

      init.php line 52 inside the function “atlast_business_set_header_image”.
      In there you have to use the get_post_meta function WordPress give us with the post ID (the current page ID) in order to show the new text to every page! And ofcourse delete the lines of the code that apply to the customizer eg

        if (!empty($header_text)):
                  $html .= '<h2>' . esc_html($header_text) . '</h2>';
              if (!empty($header_subtext)):
                  $html .= '<h3>' . esc_html($header_subtext) . '</h3>';


Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘stickymenu not working’ is closed to new replies.