Okay
  Public Ticket #3750407
Header colour
Open

Comments

  •  5
    Robert started the conversation

    How do I change the header colour? Do I need to add code to CSS? If so what is the code to add?

    Thanks

  •  1,918
    Judith replied

    Hi Robert,

    Thanks for writing to us.

    To adjust the header background color, please head to Salient > Header navigation > Color Scheme > Header Background :

    2684043311.png

     


    I really hope this proves helpful for you. If you have any more questions or run into any problems, please feel free to reach out.

    Best regards,

  •  5
    Robert replied

    Hi Judith,

    I have changed the colour as per your screenshot, however whilst it changes the colour in the settings -see screenshot 1 - the header remains green on the website - see screenshot 2. I have tried clearing caches but it won't change. All other settings, footer etc change ok.

    The website is https://easyflowassets.com.au/

    Attached files:  Screenshot 2.png
      Screenshot 1.png

  •  1,918
    Judith replied

    Hi Robert,

    Thanks for writing back.

    To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:

    From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:

    header#top {
        background: #2722b2;
    }

    Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related. If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help. 

     

  •  5
    Robert replied

    Hi Judith,

    I have added the code but still not changing the header colour. Do the little warning triangles in the code mean anything - see attached image

    Attached files:  Screenshot 2024-10-25 2.12.52 PM.png

  •  5
    Robert replied

    Hi Judith,

    Ignore my previous reply, it has changed now. Thanks

  •  1,918
    Judith replied

    Hi Robert,

    I'm happy that we could assist you! If you haven't already, please consider sharing your experience by leaving a review on ThemeForest.

    Should you have any further questions or encounter any difficulties along the way, please don't hesitate to reach out. 

    Best regards,

  •  5
    Robert replied

    Hi Judith,

    Me again, sorry to keep bothering you. The header is perfect on desktop now but i just noticed on a mobile there is still a green background above & below the header - see screenshot. Is this a setting I have wrong or do I need to add more code?

    Thanks

    Attached files:  Screenshot_20241025_145916_Samsung Internet.jpg

  •  1,918
    Judith replied

    Hi Robert,

    Thanks for writing back.

    To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:

    From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:

    @media (max-width: 767px) {
        div#header-outer {
            background: #5e33c4;
        }
    }

    Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related. If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help. 

     

  •  5
    Robert replied

    Thanks Judith,

    It is perfect now on desktop & mobile.

    Thank you so much

    Robert

  •  1,918
    Judith replied

    Hi Robert,

    You're welcome.

    Best Regards.