Quark, article, fullscreen

Support desk for Multipurpose Quark Theme
GK User
Tue Aug 29, 2017 10:32 pm
Hi,
how can i suffixes for pages (ItemID/Option) for single article.
Link to article https://nosamurai.com/en/wakesteps/143-wakesteps-teaser
I tried article id (143), article alias no result.
It only works when i put menu ID, but then there is a problem with Category List.
I would like use suffix - frontpage fullscreen because of missing menu (white on white)
User avatar
Junior Boarder

teitbite
Wed Aug 30, 2017 2:27 pm
Hi

Template's feature for additional suffixes only works with menu item ID and a name of the component as seen in Your sereenshot. It will not add a suffix for articles separatelly.

My idea to add one is by placing this small script in the content of an article:

Code: Select all
<script type="text/javascript">(function($) {$(document).ready(function() {
$('body').addClass('frontpage').addClass('fullscreen');
});})(jQuery)</script>
User avatar
Moderator

GK User
Wed Aug 30, 2017 10:10 pm
Doesn't work :(
User avatar
Junior Boarder

teitbite
Wed Sep 06, 2017 6:40 am
Hi

Make sure Your editor is not removing scripts or best disable using editor at all during saving an article with this code inside. It's a really streith forward code, so I thik this can be a problem and not some conflict, but would like to see an example page with this code if above will not work.
User avatar
Moderator


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