WordPress.org

Forums

Kvarken
[resolved] How to remove curly brackets (4 posts)

  1. martin@ardenpartnership.com
    Member
    Posted 1 year ago #

    Hovering over the page titles results in two sets of curly brackets (like these { } ) appearing around the title.

    I'd prefer it if the title word simply changed colour to indicate a hyperlink. How can I remove the curly brackets?

    Thanks

    Martin

  2. kaniamea
    Member
    Posted 1 year ago #

    Hi Martin, assuming you are using a child theme you can add this to your child style.css:

    #header-menu a:hover {
    color:black;
    }

    The code above will make the hover black.

    #header-menu li:hover > a:after,
    #header-menu li.current_page_item:after {
    	display: none;
    
    }
    
    #header-menu li:hover > a:before,
    #header-menu li.current_page_item:before {
    	display:none;
    }

    And the code above will remove the curly brackets.

  3. compute4christ
    Member
    Posted 1 year ago #

    #header-menu li:hover > a:after,
    #header-menu li.current_page_item:after {
    display: none;

    }

    #header-menu li:hover > a:before,
    #header-menu li.current_page_item:before {
    display:none;
    }
    And the code above will remove the curly brackets.

    I'm not using a child theme and I used the above code and it did not work.

    How do I remove the curlies if I'm not using a child theme?

  4. Carolina Nymark
    Member
    Theme Author

    Posted 1 year ago #

    Version 2.2 has a new design option in the customizer to remove the curly brackets.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.