Post by trollface59 » Tue Aug 03, 2021 9:02 pm

I am currently using OpenCart 3.0.3.7 and using the default theme but modified it in css.
Currently, when I click on My Account, the background turns into a lightish grey, which reflects the original colour of the top bar.
I looked in the stylesheet in catalog/view/theme/(my_theme)/stylesheet by when I changed the #EEEEEE values it seemed to not fix the problem.
Here is the store link.
Any help would be greatly appreciated.
Thanks in advance.
Last edited by trollface59 on Thu Aug 05, 2021 8:40 am, edited 1 time in total.

Newbie

Posts

Joined
Wed Jul 07, 2021 11:16 am

Post by straightlight » Tue Aug 03, 2021 9:31 pm

trollface59 wrote:
Tue Aug 03, 2021 9:02 pm
I am currently using OpenCart 3.0.3.7 and using the default theme but modified it in css.
Currently, when I click on My Account, the background turns into a lightish grey, which reflects the original colour of the top bar.
I looked in the stylesheet in catalog/view/theme/(my_theme)/stylesheet by when I changed the #EEEEEE values it seemed to not fix the problem.
Here is the store link.
Any help would be greatly appreciated.
Thanks in advance.
If you're using an external editor, ensure to clear your OC caches for every changes: viewtopic.php?f=134&t=215776#p718325

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by JNeuhoff » Tue Aug 03, 2021 9:53 pm

At the moment, it uses this CSS rule: background-color: #fff; , including for your account page.

What exactly are you trying to accomplish?

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by trollface59 » Wed Aug 04, 2021 9:36 am

At most I just plan to change the colour scheme of certain menus and not much more. The problem is the colour around the my account when the dropdown is open is that it changes to the #EEEEEE colour instead of the blue colour that surrounds it. I've also fixed the caching problem so that is not a problem for me.

Attachments

myaccountwrongcolour.PNG

myaccountwrongcolour.PNG (2.34 KiB) Viewed 325 times


Newbie

Posts

Joined
Wed Jul 07, 2021 11:16 am

Post by paulfeakins » Wed Aug 04, 2021 7:11 pm

Here's the part you need to override:
https://store.createunsw.com.au/catalog ... ap.min.css line 5

Code: Select all

.nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
    background-color: #eee;
    border-color: #337ab7;
}

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by trollface59 » Wed Aug 04, 2021 9:06 pm

Ah that did the trick. Thank you so much for your help.

Newbie

Posts

Joined
Wed Jul 07, 2021 11:16 am

Post by straightlight » Thu Aug 05, 2021 2:22 am

trollface59 wrote:
Wed Aug 04, 2021 9:06 pm
Ah that did the trick. Thank you so much for your help.
Now that the issue has been solved, please add: [SOLVED] at the beginning of the subject line on your first post.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 103 guests