Page 1 of 1

[SOLVED] Change color in Home Page Oc 3.0.3.6

Posted: Wed Jan 06, 2021 9:15 pm
by thanoshac
Hi community , apologize in advance for my "stupid" question but I am stuck. I need to change the white back ground of the home page to another color (I need same shade of grey as it is the top). Photo explanation attached.
Where I have to correct the right color? Is any selection on menu (photo attached) or I need to edit code?
My site details https://meditex.gr/index.php?route=common/home

Re: Change color in Home Page Oc 3.0.3.6

Posted: Wed Jan 06, 2021 9:29 pm
by by mona
you want to change

Code: Select all

.standard-body .fixed2 .background {
    background: #fff;
}
to

Code: Select all

.standard-body .fixed2 .background {
     background: #f3f3f3;
}
in your body section I presume - you should contact fastor (theme developer)

Re: Change color in Home Page Oc 3.0.3.6

Posted: Wed Jan 06, 2021 9:31 pm
by thanoshac
Many thanks for your help. I will try and hope to solve it.

Re: Change color in Home Page Oc 3.0.3.6

Posted: Thu Jan 07, 2021 3:20 am
by thanoshac
Unfortunately I got error ''local: unable to open /var/header.twig'', wont let me transfer and edit this twig files. I have installed the fastortheme.
This is my path fastortheme/view/common/header.twig. I also have in my theme a folder name template/common/header with 27 header twig files.
Any idea?

Re: Change color in Home Page Oc 3.0.3.6

Posted: Thu Jan 07, 2021 3:28 am
by by mona
You should not edit the twig files.
Your screenshot has a section with the first element as BODY
I presume you change it there, but for that you will have to contact theme forest.

You could override it - but why? you have theme that you put it into via admin - why not use it?

Re: Change color in Home Page Oc 3.0.3.6

Posted: Thu Jan 07, 2021 3:58 am
by thanoshac
Thanks one more time for your kind responce. I already did it, but no result.... Finally I opened the header twig. See attached.
What's the syntax ?

Re: Change color in Home Page Oc 3.0.3.6

Posted: Thu Jan 07, 2021 4:10 am
by by mona
what is the syntax?
That you enter it in the admin panel as described in the above post.


I already did it, but no result.
You need to enter it there and clear your caching - in your dashboard top right hand corner is a blue cog - clear both of those.
There maybe other caching in your theme and your browser also caches and sometimes your host also.

Caching is basically a photograph of something stored so it does not have to gather the information.
So for example a stylesheet will be already cached in your browser - so it is not calling for a new one - you have to manually clear it.



Theme caching - you need to speak to theme forest
Host caching - You need to speak to your host (maybe in your Cpanel there is an option to do it yourself)
Browser caching - check google as per your browser

Re: Change color in Home Page Oc 3.0.3.6

Posted: Thu Jan 07, 2021 6:37 pm
by paulfeakins
thanoshac wrote:
Thu Jan 07, 2021 3:58 am
Thanks one more time for your kind responce. I already did it, but no result.... Finally I opened the header twig. See attached.
What's the syntax ?
Contact the theme developer or post a job in the Commercial Support Forum.

Re: [SOLVED] Change color in Home Page Oc 3.0.3.6

Posted: Mon Jan 11, 2021 3:28 pm
by thanoshac
As i said '' apologize in advance for my "stupid" question but I am stuck. Thanks Mona you said the right way ''Caching is basically a photograph of something stored so it does not have to gather the information.
So for example a stylesheet will be already cached in your browser - so it is not calling for a new one - you have to manually clear it.''