Styles colors
Responsive community-minded music Joomla template with JomSocial extension support.
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Thu Nov 06, 2014 2:04 am
- Reply with quote
- Report this post
Hi I used the template GK game and when I change the color on the bottom it is the color of choice and changes everything, including the images - show!
But now the template - music state - I simply choose the color and when I switch the page back the original color. Does not change the image of the footer.
What happens? I tried the template to see if there was something that I had to change, but found nothing related to this.
I'm talking about the color options for navigation - GKcolor I, GKcolor II , etc ...
What could be happening?
Site: http://www.marianomaia.com.br/music
Thanks & Regards,
Marcia
But now the template - music state - I simply choose the color and when I switch the page back the original color. Does not change the image of the footer.
What happens? I tried the template to see if there was something that I had to change, but found nothing related to this.
I'm talking about the color options for navigation - GKcolor I, GKcolor II , etc ...
What could be happening?
Site: http://www.marianomaia.com.br/music
Thanks & Regards,
Marcia
-
- Senior Boarder
- GK User
- Thu Nov 06, 2014 7:40 am
- Reply with quote
- Report this post
It looks like a bug in our template. I'll report that to our dev team and will write back as soon as I'll get an answer.
-
- Moderator
- GK User
- Thu Nov 06, 2014 6:09 pm
- Reply with quote
- Report this post
The fix will be provided with next template update, but you can edit file:
/templates/gk_musicstate/js/gk.scripts.js
and modify last function in this file:
/templates/gk_musicstate/js/gk.scripts.js
and modify last function in this file:
- Code: Select all
// Function to change styles
function changeStyle(style){
var file1 = $GK_TMPL_URL+'/css/style'+style+'.css';
var file2 = $GK_TMPL_URL+'/css/typography/typography.style'+style+'.css';
jQuery('head').append('<link rel="stylesheet" href="'+file1+'" type="text/css" />');
jQuery('head').append('<link rel="stylesheet" href="'+file2+'" type="text/css" />');
for(var i = 1; i <= 6; i++) {
jQuery(document.body).removeClass('style' + i);
}
jQuery(document.body).addClass('style' + style);
jQuery.cookie('gk_musicstate_j30_style', style, { expires: 365, path: '/' });
}
-
- Moderator
- GK User
- Tue Nov 11, 2014 4:43 pm
- Reply with quote
- Report this post
Hi.
The problem continues.
Now the color to swap the images, but when I navigate back to initial color.
Replace any color and navigate to any page. The color returns.
How do I fix this?
Thanks & Regards,
Marcia
The problem continues.
Now the color to swap the images, but when I navigate back to initial color.
Replace any color and navigate to any page. The color returns.
How do I fix this?
Thanks & Regards,
Marcia
-
- Senior Boarder
- GK User
- Wed Nov 12, 2014 7:35 pm
- Reply with quote
- Report this post
Perhaps you are having some cache issue... I have tested the fix on your site and it works fine.
-
- Moderator
- GK User
- Thu Nov 13, 2014 5:03 pm
- Reply with quote
- Report this post
I keep having the same problem even clearing the cache and even going for another browser. What browser do you use?
The color changes and then when I navigate to another page, returns the initial color.
The funny thing is that another site on the same provider, with another template, is functioning normally and not have to clear the cache. So I still think there's something wrong ....
Thank you.
The color changes and then when I navigate to another page, returns the initial color.
The funny thing is that another site on the same provider, with another template, is functioning normally and not have to clear the cache. So I still think there's something wrong ....
Thank you.
-
- Senior Boarder
- GK User
- Thu Nov 13, 2014 5:16 pm
- Reply with quote
- Report this post
Please correct the code to:
- Code: Select all
// Function to change styles
function changeStyle(style){
var file1 = $GK_TMPL_URL+'/css/style'+style+'.css';
var file2 = $GK_TMPL_URL+'/css/typography/typography.style'+style+'.css';
jQuery('head').append('<link rel="stylesheet" href="'+file1+'" type="text/css" />');
jQuery('head').append('<link rel="stylesheet" href="'+file2+'" type="text/css" />');
for(var i = 1; i <= 6; i++) {
jQuery(document.body).removeClass('style' + i);
}
jQuery(document.body).addClass('style' + style);
jQuery.cookie('gk_musicstate_j25_style', style, { expires: 365, path: '/' });
}
-
- Moderator
- GK User
- Thu Nov 13, 2014 6:37 pm
- Reply with quote
- Report this post
Dear, this is the same code you sent and I've already put down. And still the same problem.
Thanks & Regards.
Thanks & Regards.
-
- Senior Boarder
- GK User
- Fri Nov 14, 2014 7:37 am
- Reply with quote
- Report this post
No, it is not the same - last line is different. Please clear your cache / use incognito / private mode.
-
- Moderator
- GK User
- Mon Nov 17, 2014 11:03 pm
- Reply with quote
- Report this post
Thank you! Now it worked.
But it's funny, because the code (the last line) changes the version of gk_musicstate_j30_style to gk_musicstate_j25_style. However both joomla and the template I'm using is the J30.
So I did not understand the logic ...
Thanks & Regards,
Marcia
But it's funny, because the code (the last line) changes the version of gk_musicstate_j30_style to gk_musicstate_j25_style. However both joomla and the template I'm using is the J30.
So I did not understand the logic ...
Thanks & Regards,
Marcia
-
- Senior Boarder
- GK User
- Tue Nov 18, 2014 5:21 pm
- Reply with quote
- Report this post
Actually - I know why the name must have j25 in name not j30 but don't basically know the purpose. Ill ask our dev team for that.
-
- Moderator
11 posts
• Page 1 of 1