GK News Gallery
Place where you can get help, share your ideas and discuss about Bike Store shopping Wordpress theme with WooCommerce support and plugins built for product placement.
- GK User
- Sun Jan 05, 2014 7:45 pm
Hello, I need your help. I have a problem with "GK News Gallery" look screenshot. I hope you can halp me 7
Thank you
Thank you
-
- Junior Boarder
- GK User
- Mon Jan 06, 2014 10:27 am
I'm not quite sure whats the problem - you can change number of elements that is being shown by the widget if that is the case.
Ps - Member Sites is a section where users show their finished sites. You should ask this in proper template forum.
Moving the question to bikestore forum.
Ps - Member Sites is a section where users show their finished sites. You should ask this in proper template forum.
Moving the question to bikestore forum.
-
- Moderator
- GK User
- Mon Jan 06, 2014 10:45 am
how to make products in a single line?
-
- Junior Boarder
- GK User
- Mon Jan 06, 2014 10:54 am
-
- Junior Boarder
- GK User
- Mon Jan 06, 2014 11:14 am
Could You please post an url to your site?
-
- Moderator
- GK User
- Mon Jan 06, 2014 11:22 am
please loock you Private Message
-
- Junior Boarder
- GK User
- Tue Jan 07, 2014 9:40 am
Ok, it seems jQuery wrongly calculates width of the elements.
Please edit file:
wp-content/themes/BikeStore/js/widgets/news_gallery.js
and modify this line:
to:
Please edit file:
wp-content/themes/BikeStore/js/widgets/news_gallery.js
and modify this line:
- Code: Select all
module.find('.gk-ns-arts-scroll').css('width', (jQuery(arts[arts.length - 1]).outerWidth() * arts.length) + 2);
to:
- Code: Select all
module.find('.gk-ns-arts-scroll').css('width', (jQuery(arts[arts.length - 1]).outerWidth() * arts.length) + 10);
-
- Moderator
- GK User
- Tue Jan 07, 2014 12:19 pm
great! thank very much!
-
- Junior Boarder
- GK User
- Tue Jan 07, 2014 12:32 pm
No problem
I'm glad I could help.
I'm glad I could help.
-
- Moderator
- GK User
- Tue Jan 07, 2014 12:36 pm
Ps. Could you try this code:
and write back if it also works fine?
- Code: Select all
module.find('.gk-ns-arts-scroll').css('width', (jQuery(arts[arts.length - 1]).width() * arts.length) + 2);
and write back if it also works fine?
-
- Moderator
- GK User
- Tue Jan 07, 2014 2:17 pm
So, this code isn´t working
this code isn´t working with firefox, but with google chrom it working
- Code: Select all
module.find('.gk-ns-arts-scroll').css('width', (jQuery(arts[arts.length - 1]).width() * arts.length) + 2);;
this code isn´t working with firefox, but with google chrom it working
- Code: Select all
module.find('.gk-ns-arts-scroll').css('width', (jQuery(arts[arts.length - 1]).outerWidth() * arts.length) + 10);
-
- Junior Boarder
- GK User
- Tue Jan 07, 2014 3:08 pm
Please send me a PM with:
1. URL to your website
2. ftp data (host, user, password)
3. link to this thread
1. URL to your website
2. ftp data (host, user, password)
3. link to this thread
-
- Moderator
- GK User
- Fri Jan 10, 2014 10:25 am
The problem is with this element:
http://d.pr/i/62Qi
Its name is too long and it causes weirdness in some js calculations.
Is it possible for you to change the name and make it a little bit shorter?
http://d.pr/i/62Qi
Its name is too long and it causes weirdness in some js calculations.
Is it possible for you to change the name and make it a little bit shorter?
-
- Moderator
- GK User
- Fri Jan 10, 2014 5:15 pm
yes I can, thanks for the solution!
Cyberek wrote:The problem is with this element:
http://d.pr/i/62Qi
Its name is too long and it causes weirdness in some js calculations.
Is it possible for you to change the name and make it a little bit shorter?
-
- Junior Boarder
- GK User
- Sat Jan 11, 2014 12:28 pm
No problem. Sorry it took so long.
-
- Moderator
15 posts
• Page 1 of 1