Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
NAP-wordpress
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marwa Sfari
NAP-wordpress
Commits
597ac810
Commit
597ac810
authored
Jul 19, 2017
by
imac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bugfix]Product : slider image
parent
8b1c16df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
main.css
wp-content/themes/nap/assets/css/main.css
+1
-0
product.js
wp-content/themes/nap/assets/js/product.js
+2
-1
No files found.
wp-content/themes/nap/assets/css/main.css
View file @
597ac810
...
...
@@ -1241,6 +1241,7 @@ aside.news-wrapper {
display
:
inline-block
;
*
display
:
inline
;
*
zoom
:
1
;
overflow
:
hidden
;
}
.easyzoom
img
{
vertical-align
:
bottom
;
...
...
wp-content/themes/nap/assets/js/product.js
View file @
597ac810
...
...
@@ -53,6 +53,7 @@ $.fn.slider_product = function(){
arrows
:
true
,
dots
:
true
,
slidesToShow
:
1
,
adaptiveHeight
:
true
,
//centerMode: true,
centerPadding
:
'0px'
,
});
...
...
@@ -111,7 +112,6 @@ $('.product-list article img, .product-list article ul li').on('click', function
var
toLink
=
$
(
this
).
data
(
'link'
);
$
(
'.load-page'
).
parent
().
addClass
(
'active'
);
$
(
'.load-page'
).
load
(
toLink
,
function
(){
$
.
fn
.
slider_product
();
$
(
'.list-color li'
).
getListColors
();
$
(
'.list-format li'
).
getListFormat
();
$
(
'.list li'
).
selectColorFormat
();
...
...
@@ -123,6 +123,7 @@ $('.product-list article img, .product-list article ul li').on('click', function
setTimeout
(
function
(){
$
.
fn
.
productAnimation
();
$
(
'#product .product-list'
).
showRightPanel
();
$
.
fn
.
slider_product
();
},
800
)
$
(
'.download-btn'
).
click
(
function
(
e
){
e
.
stopPropagation
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment