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
61b1d672
Commit
61b1d672
authored
Aug 22, 2017
by
imac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bugfix]Crop image
parent
9d85f2b0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
6 deletions
+12
-6
main.css
wp-content/themes/nap/assets/css/main.css
+6
-4
responsive.css
wp-content/themes/nap/assets/css/responsive.css
+3
-0
main.js
wp-content/themes/nap/assets/js/main.js
+1
-0
simple.php
...mes/nap/woocommerce/single-product/add-to-cart/simple.php
+1
-1
variable.php
...s/nap/woocommerce/single-product/add-to-cart/variable.php
+1
-1
No files found.
wp-content/themes/nap/assets/css/main.css
View file @
61b1d672
...
@@ -343,7 +343,7 @@ II/ Helper..............Helper classes
...
@@ -343,7 +343,7 @@ II/ Helper..............Helper classes
width
:
19px
;
width
:
19px
;
}
}
.overflow-auto
{
.overflow-auto
{
overflow-x
:
hidden
;
overflow-x
:
hidden
;
}
}
/*---------CROSS------------*/
/*---------CROSS------------*/
.close-btn
{
.close-btn
{
...
@@ -1108,7 +1108,7 @@ aside.news-wrapper {
...
@@ -1108,7 +1108,7 @@ aside.news-wrapper {
}
}
.element-slider
{
.element-slider
{
height
:
415px
;
height
:
415px
;
background-size
:
co
ver
;
background-size
:
co
ntain
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-position
:
center
;
background-position
:
center
;
}
}
...
@@ -2062,8 +2062,9 @@ label.chevron.bottom::first-letter {
...
@@ -2062,8 +2062,9 @@ label.chevron.bottom::first-letter {
}
}
.product-list
article
figure
.small
img
{
.product-list
article
figure
.small
img
{
height
:
69px
;
max-height
:
69px
;
width
:
69px
;
width
:
auto
;
max-width
:
69px
;
}
}
.product-list
ul
{
.product-list
ul
{
position
:
absolute
;
position
:
absolute
;
...
@@ -2300,6 +2301,7 @@ div.wpcf7-mail-sent-ok{
...
@@ -2300,6 +2301,7 @@ div.wpcf7-mail-sent-ok{
text-align
:
center
;
text-align
:
center
;
}
}
/* --------------*/
/* ---------->>> Woocommerce <<<-----------*/
/* --------------*/
/* --------------*/
/* ---------->>> Woocommerce <<<-----------*/
/* --------------*/
.woocommerce-variation-description
,
.woocommerce-info
,
.woocommerce-info
,
.woocommerce-product-gallery
{
.woocommerce-product-gallery
{
display
:
none
!important
;
display
:
none
!important
;
...
...
wp-content/themes/nap/assets/css/responsive.css
View file @
61b1d672
...
@@ -192,6 +192,9 @@
...
@@ -192,6 +192,9 @@
#slides
{
#slides
{
height
:
auto
!important
;
height
:
auto
!important
;
}
}
.close-btn-mobile
{
display
:
none
!important
;
}
}
}
@media
screen
and
(
max-width
:
860px
)
{
@media
screen
and
(
max-width
:
860px
)
{
/* general */
/* general */
...
...
wp-content/themes/nap/assets/js/main.js
View file @
61b1d672
...
@@ -95,6 +95,7 @@ $('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){
...
@@ -95,6 +95,7 @@ $('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){
$
(
'.footer-home-content'
).
find
(
'.nav-content'
).
remove
();
$
(
'.footer-home-content'
).
find
(
'.nav-content'
).
remove
();
//$('.home-footer-nav .nav-wrapper').css('top','initial');
//$('.home-footer-nav .nav-wrapper').css('top','initial');
$
(
'.home-down-wrapper'
).
css
(
'top'
,
'initial'
);
$
(
'.home-down-wrapper'
).
css
(
'top'
,
'initial'
);
$
(
'.footer-home-content'
).
removeClass
(
'fixed'
);
$
(
'.main'
).
height
(
$
(
window
).
height
()
-
$
(
'.nav-header'
).
outerHeight
());
$
(
'.main'
).
height
(
$
(
window
).
height
()
-
$
(
'.nav-header'
).
outerHeight
());
return
false
;
return
false
;
...
...
wp-content/themes/nap/woocommerce/single-product/add-to-cart/simple.php
View file @
61b1d672
...
@@ -34,7 +34,7 @@ do_action('woocommerce_before_add_to_cart_form');
...
@@ -34,7 +34,7 @@ do_action('woocommerce_before_add_to_cart_form');
<h2
class=
"crete -italic font-small"
>
<?php
echo
$sub_cat
[
0
]
->
name
?>
</h2>
<h2
class=
"crete -italic font-small"
>
<?php
echo
$sub_cat
[
0
]
->
name
?>
</h2>
<h3
class=
"crete"
>
<?php
the_title
();
?>
</h3>
<h3
class=
"crete"
>
<?php
the_title
();
?>
</h3>
</div>
</div>
<span
class=
"close-btn display--only-mobile"
></span>
<span
class=
"close-btn display--only-mobile
close-btn-mobile
"
></span>
<div
class=
"slides-wrapper center"
>
<div
class=
"slides-wrapper center"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"nav-slider transition"
>
<div
class=
"nav-slider transition"
>
...
...
wp-content/themes/nap/woocommerce/single-product/add-to-cart/variable.php
View file @
61b1d672
...
@@ -87,7 +87,7 @@ do_action('woocommerce_before_add_to_cart_form');
...
@@ -87,7 +87,7 @@ do_action('woocommerce_before_add_to_cart_form');
<h2
class=
"crete -italic font-small"
>
<?php
echo
$sub_cat
[
0
]
->
name
;
?>
</h2>
<h2
class=
"crete -italic font-small"
>
<?php
echo
$sub_cat
[
0
]
->
name
;
?>
</h2>
<h3
class=
"crete"
>
<?php
the_title
();
?>
</h3>
<h3
class=
"crete"
>
<?php
the_title
();
?>
</h3>
</div>
</div>
<span
class=
"close-btn display--only-mobile"
></span>
<span
class=
"close-btn display--only-mobile
close-btn-mobile
"
></span>
<div
class=
"slides-wrapper center"
>
<div
class=
"slides-wrapper center"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"nav-slider transition"
>
<div
class=
"nav-slider transition"
>
...
...
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