• I have a problem with this site, the header disappears in the home page only but when I browse other pages I can see it.

    I am using betheme, WordPress 5.0 installed on Centos 7 with up to date apache2 and mysql database.

    I would appreciate your help
    Thank you

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • The header is displaying correctly (device: laptop, resolution 1366×768). Which devices do you use? Does the problem still exists?

    Thread Starter moehammond

    (@moehammond)

    Hi Fotis,

    I am not sure if you got what I mean, I mean the menu header which has the options for other pages such as home/our services/etc

    In the home page that doesn’t show at all.

    did you modify front-page.php in your theme.

    If you have a file front-page.php file check to make sure it has get_header() function at the top should be something like <?php get_header(); ?> .

    Thread Starter moehammond

    (@moehammond)

    Let me check and tell you. Thank you Tom

    Thread Starter moehammond

    (@moehammond)

    I couldn’t find front-page.php but found index.php under wp-content and it has this
    <?php
    // Silence is golden.

    The theme is controlled by Betheme. Do I make a change and see if it will work?
    Thanks

    I wouldn’t add anything that wasn’t in the original theme. If you are making changes to the theme it should be done in a child theme. When I look at your homepage it appears to be right now.

    When I looked at it earlier it didn’t have the slider or the menu. Now both appear on your home page.

    Thread Starter moehammond

    (@moehammond)

    oh yes, I have someone else working on it. let me check if they made any changes.

    Thread Starter moehammond

    (@moehammond)

    Hi Tom,

    I guess I know why the issue happens, I had a problem with permlinks and in order to solve the problem I used fallbackresource in the virtual host and set it to /index.php

    Right after that the problem showed up and the header went missing from the home page. if I remove the fallbackresource the permlinks will not work however the header on the home page will work again.

    How to solve this?
    https://httpd.apache.org/docs/current/mod/mod_dir.html#fallbackresource

    Thank you

    Thread Starter moehammond

    (@moehammond)

    It’s very strange, its working on all browsers except Chrome.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Fixing header menu in the home page’ is closed to new replies.