Header of website

by 5 replies
6
I need to remove a part of the header, as you can see i have highlighted which part that i have no idea how to remove.

How would i go about it?

Thanks
Michael
#website design #header #website
  • What kind of site is this? Is this just html or a content management system?
    • [1] reply
    • It is a wordpress site. I installed a theme.
      • [1] reply
  • *edit* OP make sure to read my next post below before going anywhere:

    Looks like you have Chrome -

    1) Press CTRL+SHIFT+I

    This will open your Developer console

    2) Click the little Magnifying Glass / Search Icon in the upper left of the console, this is your inspector - Firefox will have something similar

    3) In Chrome (as I'll show in the image below) - you need to directly click elements on a page to access them in the HTML structure - you will then see that HTML structure presented to you - you can then navigate the nesting of this structure to find the specific ID of whatever DIV or TABLE element is housing your header.

    I've done so with this site just now and as you can see the container for the header on this forum is in a Table with ID "Table_01"



    View the full image here

    Most often you will see a DIV containing a header instead, but it will still have an ID.

    If you identify the container of your header you can then set some custom CSS rules to hide that container completely OR you can (hopefully) remove it from Header.php which I will explain below.

    If that method didn't work (editing Header.php) directly may need to do CSS edits, if you need help editing the CSS or have never done so before lemme know. For most themes that don't make it easy, you have to access their main styles.css file from the File Manager in the CPanel of your site. This can be complex so I'll hold my tongue unless you need further details. I would recommend searching "How to edit CSS of a WP theme" but honestly, I'm a better teacher than most websites, so just lemme know.


    View this thread if you want to know how to access and edit Header.php and Footer.php from the WP backend

    In this linked thread I'm answering a question on editing the Footer.php which is going to be similar to editing the Header.php. In the linked thread the user wants to know how to remove standard WP links from the footer. I recommended removing what was between the DIV tags but keeping the tags there for future use. You can most likely just remove whatever element you identify from the console though.

    Hope this helps, any questions just ask.

Next Topics on Trending Feed

  • 6

    I need to remove a part of the header, as you can see i have highlighted which part that i have no idea how to remove. How would i go about it?