Suffix not correct anymore

Support desk for Multipurpose Quark Theme
GK User
Tue Jan 05, 2016 5:51 pm
Hi

i am using ecommerce and the suffix of my home page is not correct any more.

It it now WHITE menu with WHITE header but it need to be black

these are mine settings:

dasd.PNG


Qeustion 1: How can i make it correct.

Qeustion 2: i want to add dark-bg to antoher page of mine but it didn't work. I used correct dark-bg and itemid 1207

Thanks
User avatar
Gold Boarder

teitbite
Fri Jan 08, 2016 3:10 pm
Hi

Please tell me the url to the frontpage and to the page You are trying to attache the suffix to. I will also need an access to joomla panel to check it.
User avatar
Moderator

GK User
Fri Jan 08, 2016 7:12 pm
teitbite wrote:Hi

Please tell me the url to the frontpage and to the page You are trying to attache the suffix to. I will also need an access to joomla panel to check it.


Hi i have send a pm with the correct information
User avatar
Gold Boarder

teitbite
Mon Jan 11, 2016 11:27 am
Hi

I just checked and whatever page You have a suffix "dark-bg" will have a white menu. It's to be visible under dark header (that's why suffix is called dark-bg).

If You want to have it black You need to remove suffix "dark-bg", that's all. Here is an example how to deal with suffixes and how to learn the ID You should use https://www.gavick.com/documentation/jo ... omla-pages
User avatar
Moderator

GK User
Mon Jan 11, 2016 12:14 pm
teitbite wrote:Hi

I just checked and whatever page You have a suffix "dark-bg" will have a white menu. It's to be visible under dark header (that's why suffix is called dark-bg).

If You want to have it black You need to remove suffix "dark-bg", that's all. Here is an example how to deal with suffixes and how to learn the ID You should use https://www.gavick.com/documentation/jo ... omla-pages


Hi

I have no dark-bg at the page i want a black menu, so what is the problem? test/index.php/tomtom

And my home page still is not correct, the header size is not the correct size and menu color is not correct because of not working suffix. Could you please check? test/index.php/

I have read the documantion, but still cant find the problem
User avatar
Gold Boarder

GK User
Mon Jan 11, 2016 12:36 pm
And how i can i delete only a suffix on specief page and not alle pages?
User avatar
Gold Boarder

teitbite
Mon Jan 11, 2016 2:45 pm
Hi

In template settings You can only attach suffixes to one page, so when You will remove one row it would be for one page only. Just remember that if You have multiple suffixes like for frontpage right now, You should only remove one of them there.
User avatar
Moderator

GK User
Mon Jan 11, 2016 4:47 pm
Hi i dont think you understand my problem now.

Problem 1: home page is not correct, the header size is not correct and the menu color is white it should be black. The frontpage dark-bg doesnt work on this page, can you check what the problem is because the frontpage dark-bg is already assignd

Problem 2: test/index.php/tomtom this page uses dark-bg without assign it to it! But i want white-bg or non.
User avatar
Gold Boarder

teitbite
Thu Jan 14, 2016 11:14 am
Hi

1. I changed setting in template features and now frontpage is using a black menu

2. Single article layout and some others are getting this suffix on start since images are used as headers and black menu was the better solution. If You wish to have a full control of when to use it remove this from /layout/default.php

Code: Select all
// Set the page suffix
$dark_bg = ($one_page_item || $category_page) && !$tag_style_page && !$item_id == $error_item_id ? ' dark-bg' : '';

if(
   $this->API->get('template_style') === 'ecommerce.main.less' &&
   (
      JRequest::getCmd('option') == 'com_search' ||
      JRequest::getCmd('option') == 'com_finder'
   )
) {
   $dark_bg = '';
}

User avatar
Moderator

GK User
Sun Jan 17, 2016 11:00 am
Hi thanks teitbite,

It worked.

I reloaded ecommerse JSON and the suffix and header height of home page was correct again.

And as you said, i added frontpage to the pages i want a dark menu, this also worked.

Thanks!
User avatar
Gold Boarder

teitbite
Thu Jan 21, 2016 6:05 pm
Hi

Great to hear that. I'm closing this thread than. Please create new thread if You will encounter other issues.
User avatar
Moderator


cron