[Support request] site title in header has a link to home page

Home Forums Support [Support request] site title in header has a link to home page

Home Forums Support site title in header has a link to home page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1096316
    CRISTO

    Somewhere, a while back, I put a link in the title of my header that is underlined and takes you back to the home page regardless of what page you are on. I don’t want that anymore, but not sure how to get rid of it.

    It may be some custom css but I am not sure.

    #1096341
    Leo
    Staff
    Customer Support

    Hi Cristo,

    Site title is linked to the home page by default.

    You can remove the link with this PHP snippet:
    https://docs.generatepress.com/article/generate_site_title_output/

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    Let me know if this helps 🙂

    #1096367
    CRISTO

    Not sure I made myself clear. For example on this site my title shows up in the header not underlined and not linked to anything. My other site has the title underlined and linked in the header.

    #1096371
    Leo
    Staff
    Customer Support

    For example on this site my title shows up in the header not underlined and not linked to anything.

    It doesn’t have underline but it does link to the home page which is the default:
    https://www.screencast.com/t/6SNJqSGuM

    If you want to remove the link, the PHP snippet I linked above is required.

    #1096379
    CRISTO

    I just want to remove the underline.

    #1096387
    Leo
    Staff
    Customer Support

    Add this CSS:

    .main-title a, .main-title a:hover, .main-title a:visited {
        text-decoration: none;
    }
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.