• Hello, recently I uploaded a jpeg custom header to my wordpress site. It went up ok and everything was good, then i realized I could not click on the header. I tried to change it by replacing this code…

    <div id=”header”>
    with this code……

    <div id=”header” onclick=”location.href=’https://siteaddress/’;” style=”cursor: pointer;”>

    Ever since then, my custom header was replaced with the original clickable text of the title of my site.

    I can’t seem to get my custom file back on the header. Eventually I would like to have my custom header file in the header position and clickable. any help would be great. thanks
    my site is social-critter.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • this is from the code of yours ite:

    <div id=”header”>

    see the squint quotation marks?
    these are from copy/pase form some text sources and are invalid and are breaking the code;
    (you can also see them in your post here)

    change them to proper ‘straight’ quotes:

    <div id="header">

    and for linked, try:

    <div id="header" onclick="location.href='https://siteaddress/';" style="cursor: pointer;">

    Thread Starter carverbs

    (@carverbs)

    great, thanks i fixed it. one other question, how do i now make the header a click able link to the homepage of the site?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Header troubles’ is closed to new replies.