Title: Remove a button in the header
Last modified: November 5, 2019

---

# Remove a button in the header

 *  [beardedbaker](https://wordpress.org/support/users/beardedbaker/)
 * (@beardedbaker)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/remove-a-button-in-the-header/)
 * Hello everyone, I’m struggling to remove a button in the header.
    [https://ibb.co/1bs1fqy](https://ibb.co/1bs1fqy)
   I try to write on customs css: `.header-right-part > div { display: none;}” but
   disappear even some icon I want there not just the little british flag. I try
   even to insert “display: none;” on the img but disappear even the logo on the
   main block and on the footer. Someone can help me please?
    -  This topic was modified 6 years, 6 months ago by [beardedbaker](https://wordpress.org/support/users/beardedbaker/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-a-button-in-the-header%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [HudsonValleyWebDesign](https://wordpress.org/support/users/jaycbrf/)
 * (@jaycbrf)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/remove-a-button-in-the-header/#post-12099495)
 * Sorry, commercial themes are not supported in this forum, for support please 
   visit your theme developer’s site here [https://afthemes.com/supports/](https://afthemes.com/supports/)
 *  Thread Starter [beardedbaker](https://wordpress.org/support/users/beardedbaker/)
 * (@beardedbaker)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/remove-a-button-in-the-header/#post-12100540)
 * I didn’t bought the theme nor download it. I ask a developer on freelancer.com
   to do this website. But now he disappear without gave me any instruction. So 
   I’m keep going by myself. Today I make a try on google inspect, I try to change
   the div class name from “div.aa” to “div.xx” and after I add a css comand for
   don’t display “div.xx” and works. The problem is than three buttons have the 
   code “div.aa”. I’d like to change the code from “div.aa” to “div.xx” but I don’t
   know where I can find the file with this code. I checked already on header.php
   but nothing. Can someone help me to locate the file that contains this string?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove a button in the header’ is closed to new replies.

## Tags

 * [button](https://wordpress.org/support/topic-tag/button/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [remove](https://wordpress.org/support/topic-tag/remove/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [beardedbaker](https://wordpress.org/support/users/beardedbaker/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/remove-a-button-in-the-header/#post-12100540)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
