Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 13d 00h 13m 00s
Claim 50% off
Solved Templates

Change the 'normal' and 'hover' (active link) colors of the contact phone number and email address.

Asked by RC 2 years ago Last activity 2 years ago

Hello Joomshaper,

I wish to change the 'normal' and 'hover' (active link) colors of the contact phone number and email address of the offcanvas menu but cannot find where that is located. Can you help?

The website in question is located in the 'hidden content' section of this message.

Blessings,
Rob

Joomla v5.1.4
Joomshaper v5.40
Template Homify

Accepted answer

Marked as the solution
Mehtaz Afsana Borsha Staff

Glad to know that. You can now close this post by accepting the answer.

8 more replies

Mehtaz Afsana Borsha Staff
2 years ago · edited

Hi

Thanks for contacting us. Use this CSS in your custom.css file

.offcanvas-menu .offcanvas-inner a {
    color: #fff !important;
}

.offcanvas-menu .offcanvas-inner a:hover, .offcanvas-menu .offcanvas-inner a:focus, .offcanvas-menu .offcanvas-inner a:active{
  color: red !important;
}

-Regards.

RC Asked this
2 years ago · edited

Mehtaz,

Thank you for your quick reply. Your solution worked in part. However, it changed ALL of the menu items which was not my original question. I only wish to have the CONTACT colors change.

How do I do that?

Blessings,
Rob

Mehtaz Afsana Borsha Staff

Do you want to change only this color?

RC Asked this

Yes ma'am. And the email address along with the hours of operation.

RC Asked this

AND.... I have another related question regarding this same site. Is it possible to change the color of the 'hamburger' / drawer icon on the landing page to BLACK and the 'X' on the menu WHITE?

Mehtaz Afsana Borsha Staff

Could you please check your site URL?

RC Asked this

Good morning Mehtaz,

I am so sorry about that. I was in the process of moving the site to the LIVE location and gave you the sandbox URL.

The URL to the live site has been provided in the hidden content area.

Blessings,
Rob

Mehtaz Afsana Borsha Staff
2 years ago · edited

Hi

These all are in a single div, that's why if you change the email and phone number color then the upper portion will also be changed. In that case, you can use the CSS which I already gave you.

And for burger icon you can use this CSS

.burger-icon>span{
   background-color: #000 !important;
}

And its should be the same on the landing page and hamburger page as it takes the same CSS class.

RC Asked this

Hello Mehtaz,

I'm going to give you an URL to my sandbox site.

For this question I wish to focus on the Hamburger and X on the off-canvas/slide out menu.

The CSS info you gave me changed the Hamburger to black. Which works very well on the plane white landing page (with the horse head). However, it also turns the 'X' black which cannot be seen well against the dark menu color.

I do not understand how to resolve that. Can you step me through were to put the proper info?

This is the Custom CSS which I currently have on this sandbox. I'm fairly certain you can already obtain that info via an 'inspect' command. Nevertheless, I placed it below.

Blessings,
Rob

.offcanvas-menu .offcanvas-inner a {
color: #fff !important;
}

.offcanvas-menu .offcanvas-inner a:hover, .offcanvas-menu .offcanvas-inner a:focus, .offcanvas-menu .offcanvas-inner a:active{
color: ffa800 !important;
}

.burger-icon>span{
background-color: #000 !important;
}

Mehtaz Afsana Borsha Staff

Hi

These two portions have same CSS, that's why it has to be the same color. If black color does not suit then you have to choose that color which suits on both page.

RC Asked this

Hello Mehtaz,

I just happened to have logged in and saw that you posted this.

"These two portions....." Which two portions? I admit, I do not understand.

Can you post the proper CSS so that I may copy and paste it into place?

Blessings,
Rob

RC Asked this
2 years ago · edited

Hello Mehtaz,

I kept hammering away at this as well as going through the forums and found this:

https://www.joomshaper.com/forum/question/8978

The entry from from Paul Frankowski seems to have helped.

https://www.joomshaper.com/forum/question/8978#qa-answer-44173

I added his "a.close-offcanvas" statement to the end of everything (below) and it seemed to have made everything correct on the Offcanvas Menu. That said, it has messed up the DHE page (the page with pictures (see link)).

Here are my needs:

  1. Landing page with horse must have a BLACK HAMBURGER.

  2. Offcanvas 'X' must be WHITE.

  3. The DHE page with the pictures must have a WHITE HAMBURGER.

How do I make this work?

Blessings,
Rob

.offcanvas-menu .offcanvas-inner a { color: #fff !important; }

.offcanvas-menu .offcanvas-inner a:hover, .offcanvas-menu .offcanvas-inner a:focus, .offcanvas-menu .offcanvas-inner a:active{ color: ffa800 !important; }

.burger-icon > span { background-color: #000 !important; }

a.close-offcanvas .burger-icon > span {
background-color: white !important;}

Mehtaz Afsana Borsha Staff

Is this solved now?

RC Asked this

Hello Mehtaz,

Yes ma'am. It seems to be good to go. I continued to hammer away at it until it made sense to me.

Thank you for your patience.

Blessings,
Rob

Log in to reply.