Two questions

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Oct 29, 2015 7:28 pm
Reply with quote
Report this post
Hello,
First of all i want to congratulate you for this amazing template.
I have two questions and i need help.
The first is, how can i change the social media icons in contact form? I found that icons are from font awsome but when i change the code in gk_stuff.css, appears the code of the icon.
The second question is, how can reduce the speed of the scrolling between the sections? I want to have a slower scrolling.

Thank you in advance
User avatar
Fresh Boarder

GK User
Fri Oct 30, 2015 10:16 am
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Fri Oct 30, 2015 5:40 pm
Reply with quote
Report this post
Cyberek wrote:Could you please post an url to your site?


It is not at the main domain, but the url is this http://www.e-dimension.gr/dorothea
User avatar
Fresh Boarder

GK User
Sat Oct 31, 2015 1:10 pm
Reply with quote
Report this post
1. How exactly would you like to change this icons - replace them with something else or just change one font awesome glyph to something else?
2. Scrolling between sections? What do you exactly mean? You can scroll with use of mouse scroll.
User avatar
Moderator

GK User
Sat Oct 31, 2015 1:12 pm
Reply with quote
Report this post
2. Ok sorry, I get that...
Please edit this file:
templates/gk_creativity/js/gk.scripts.js
and find this section:
Code: Select all
                       jQuery('html, body').stop().animate({
                           'scrollTop': target.offset().top
                       }, 1000, 'swing', function () {
                           if(this.hash !== '#') {
                               window.location.hash = target.selector;
                           }
                       });

The value of 1000 reflects speed, decrease to move faster, increase to move slow (1000 = 1 second).
User avatar
Moderator

GK User
Sat Oct 31, 2015 2:01 pm
Reply with quote
Report this post
Cyberek wrote:1. How exactly would you like to change this icons - replace them with something else or just change one font awesome glyph to something else?
2. Scrolling between sections? What do you exactly mean? You can scroll with use of mouse scroll.

Thank you very much! You really help me!
For the first question, i want to change the twitter icon from font-awsome to instagram icon. But when i change the code at gk_suff.css, the result is this you can see at the link.
User avatar
Fresh Boarder

GK User
Sat Oct 31, 2015 2:07 pm
Reply with quote
Report this post
This template uses 3.0.2 version which doesn't have instagram icon:
http://www.thinkgeek.com/tools/font-awesome/index.shtml
User avatar
Moderator

GK User
Sat Oct 31, 2015 2:19 pm
Reply with quote
Report this post
Is there an other way to put instagram icon instead of twitter?
User avatar
Fresh Boarder

GK User
Sat Oct 31, 2015 2:21 pm
Reply with quote
Report this post
You could try to update font-awesome files (css and fonts itself) but it might not work well (with 4.0 version they changed classes used to display the icons).
User avatar
Moderator

GK User
Sat Oct 31, 2015 2:36 pm
Reply with quote
Report this post
Cyberek wrote:You could try to update font-awesome files (css and fonts itself) but it might not work well (with 4.0 version they changed classes used to display the icons).

Ok thank you very much. You really help me a lot!
User avatar
Fresh Boarder

GK User
Mon Nov 02, 2015 9:57 pm
Reply with quote
Report this post
Is there anything else I can help you with regarding this topic?
User avatar
Moderator

GK User
Mon Nov 02, 2015 10:00 pm
Reply with quote
Report this post
No, everything is OK.
I update the font awsome library and css and the Instagram icon is OK. Also i configure the scroll effect as i want after editing the code in the file you told me.
You can mark the topic as solved.
Thank you very much!
User avatar
Fresh Boarder

GK User
Sat Nov 07, 2015 2:53 pm
Reply with quote
Report this post
Ok, have you got any problems updating fa files? Or it was simply as replacing font files(woff, svg, ttf) and corresponding css file (+changing path to font files if necesarry)?
User avatar
Moderator

GK User
Sat Nov 07, 2015 2:59 pm
Reply with quote
Report this post
Just replaced the updated files and everything worked perfect
User avatar
Fresh Boarder

GK User
Mon Nov 09, 2015 6:27 pm
Reply with quote
Report this post
Ok, thanks for sharing the info.
If you have any additional questions regarding this topic, please let me know.
User avatar
Moderator


cron