Good Evening All,
This is my first post on the forum and I apologise if this question is either in the wrong place or has already been raised and/or answered.
I have a main ecommerce website domain and have created a number of sub-domains with associated layouts for a number of my clients. Each of the sub-domains have a seperate layout which includes the clients "logo" as the store logo, and on a few of them, a differenet colour scheme to my main web site. These all work and appear as required when viewed on PC/Latop, however when viewed, as many of them are these days, on mobile devices, the store logo and colour scheme revert back to my main site details.
I changed the sub-domain layout colour scheme in "public_html/catalog/view/theme/myshop/css/css_compress_colours.php" which works as I want it to (as stated above), but I assume I also have to edit/update another part of this file, or another file to ensur ethe "Mobile Layout" view also displays the relevant store logo and colour scheme.
If anyone can help and/or advise I would be very grateful.
My main website domain is https://dnbsupplies.com and one of my sub-domains with different store logo and colour scheme (which changes when viewed on Mobile) is https://fortitudefitness.dnbsupplies.com
Thanks in advance
This is my first post on the forum and I apologise if this question is either in the wrong place or has already been raised and/or answered.
I have a main ecommerce website domain and have created a number of sub-domains with associated layouts for a number of my clients. Each of the sub-domains have a seperate layout which includes the clients "logo" as the store logo, and on a few of them, a differenet colour scheme to my main web site. These all work and appear as required when viewed on PC/Latop, however when viewed, as many of them are these days, on mobile devices, the store logo and colour scheme revert back to my main site details.
I changed the sub-domain layout colour scheme in "public_html/catalog/view/theme/myshop/css/css_compress_colours.php" which works as I want it to (as stated above), but I assume I also have to edit/update another part of this file, or another file to ensur ethe "Mobile Layout" view also displays the relevant store logo and colour scheme.
If anyone can help and/or advise I would be very grateful.
My main website domain is https://dnbsupplies.com and one of my sub-domains with different store logo and colour scheme (which changes when viewed on Mobile) is https://fortitudefitness.dnbsupplies.com
Thanks in advance
You will need to post your OpenCart version and the theme your are using. It doesn't look like OpenCart 1.5.x or the default theme. It looks a very customised theme. Have you contacted the developer about the issue?
When in mobile view it hides the Desktop header div and shows the mobile header div - which has your default logo in.
So, maybe some updates to the template files and/or controller files required
So, maybe some updates to the template files and/or controller files required
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
For the default theme it's in catalog/view/theme/default/template/common/header.tpl. However you theme will be different, it won't be the the default directory for a start.
Check if there is a catalog/view/theme/myshop/template/common/header.tpl . It should have a logo section, and in there use something like this:
Code: Select all
<div class="logo2">
<a href="/"><img src="https://fortitudefitness.dnbsupplies.com/image/catalog/01%20-%20Fortitude%20Fitness/Fortitude%20Fitness%20Full%20on%20green.png" title="DNB Supplies" alt="DNB Supplies"></a>
</div>
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Just to add FYI
Files and folders should have no spaces or special characters.
Both your image folder and the image itself have spaces.
Capital letters are not an issue, but should be avoided.
Files and folders should have no spaces or special characters.
Both your image folder and the image itself have spaces.
Capital letters are not an issue, but should be avoided.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Thanks, I will have a look for that, much apprecitaedJNeuhoff wrote: ↑Fri Oct 25, 2024 6:38 pmCheck if there is a catalog/view/theme/myshop/template/common/header.tpl . It should have a logo section, and in there use something like this:
Code: Select all
<div class="logo2"> <a href="/"><img src="https://fortitudefitness.dnbsupplies.com/image/catalog/01%20-%20Fortitude%20Fitness/Fortitude%20Fitness%20Full%20on%20green.png" title="DNB Supplies" alt="DNB Supplies"></a> </div>
Thanks Mona, but where do yoiu mean and what specifically? I appreciate yoru advice and help.
https: //fortitudefitness.dnbsupplies.com/image/catalog/01%20-%20Fortitude%20Fitness/Fortitude%20Fitness%20Full%20on%20green.png
Folder name is "Fortitude Fitness"
Image name is "Fitness Full on green"
It is best not to have spaces: Fitness-full-on-green
Folder name is "Fortitude Fitness"
Image name is "Fitness Full on green"
It is best not to have spaces: Fitness-full-on-green
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
Who is online
Users browsing this forum: No registered users and 2 guests