• See the following link:

    https://www.roycmartin.com

    For the front page only, I want to get rid of the small logo in the top-left. I might also want to center the menu.

    I’ve tried for a few days to track down how to do this. I’ve found where the #top-left is in the header.php, but cannot figure out how to edit it for only the front page (maybe an if/then statement?). I’ve got coding experience but not with PHP. Alternatively, I’ve thought of making a header_main.php with different code, but have not tracked down where in the main page code to direct it to the alternative header.

    Any advice would be much appreciated – let me know if there’s anything I can post that would help.

Viewing 1 replies (of 1 total)
  • Start by adding the body_class() function to the <body> tag. That will allow you apply CSS on a per-page basis.

Viewing 1 replies (of 1 total)
  • The topic ‘Different Header for Front Page’ is closed to new replies.