Article suffixes - dark-bg enigma

Support desk for Multipurpose Quark Theme
GK User
Sat Sep 12, 2015 1:55 pm
Hello,

I fight with dark-bg some days and i have no idea what to do next.
I have problem with main menu displayed at top of each page. I have different headers for different pages - frontpage, contact, articles. I have removed dark-bg suffixes in feature form in template settings but whole webpage doesnt work properly. Inspecting elements i can see there arent dark-bg suffix in menu elements on frontpage and contakt page. But on all articles ia have dark-bg suffix on main menu. Problem is strange, especially when running webpage on mobile devices. Frontpage and contact is fine, but on articles pages menu is unreadable.

How or when can i dissable dark-bg from articles menu/header/body? I have no idea where to look for.

Here is my test page:
http://mkkolibri.b13.eu

Regards
Przemek
User avatar
Senior Boarder

GK User
Mon Sep 14, 2015 6:40 am
Could you please provide 2 links - one to correctly working page, one to faulty one.
User avatar
Moderator

GK User
Mon Sep 14, 2015 9:17 am
Hello,

Here is frontpage and contack pages which works fine:
http://mkkolibri.b13.eu/index.php/pl/
http://mkkolibri.b13.eu/index.php/pl/20 ... 9-11-42-18

And here is antother page (with article), which is wrong:
http://mkkolibri.b13.eu/index.php/pl/20 ... 9-11-38-43
User avatar
Senior Boarder

GK User
Mon Sep 14, 2015 7:50 pm
This suffix is added by design, you can remove it by editing this file:
/templates/gk_quark/layouts/default.php
simply find this line:
Code: Select all
$dark_bg = ($one_page_item || $category_page) && !$tag_style_page && !$item_id == $error_item_id ? ' dark-bg' : '';

and modify it:
Code: Select all
$dark_bg = '';
User avatar
Moderator

GK User
Tue Sep 15, 2015 11:20 am
Thank you very much. Now it works fine :)
User avatar
Senior Boarder

GK User
Fri Sep 18, 2015 1:41 pm
If you have any additional questions regarding this topic, please let me know.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.