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
Show 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
...
...
@@ -1108,7 +1108,7 @@ aside.news-wrapper {
}
.element-slider
{
height
:
415px
;
background-size
:
co
ver
;
background-size
:
co
ntain
;
background-repeat
:
no-repeat
;
background-position
:
center
;
}
...
...
@@ -2062,8 +2062,9 @@ label.chevron.bottom::first-letter {
}
.product-list
article
figure
.small
img
{
height
:
69px
;
width
:
69px
;
max-height
:
69px
;
width
:
auto
;
max-width
:
69px
;
}
.product-list
ul
{
position
:
absolute
;
...
...
@@ -2300,6 +2301,7 @@ div.wpcf7-mail-sent-ok{
text-align
:
center
;
}
/* --------------*/
/* ---------->>> Woocommerce <<<-----------*/
/* --------------*/
.woocommerce-variation-description
,
.woocommerce-info
,
.woocommerce-product-gallery
{
display
:
none
!important
;
...
...
wp-content/themes/nap/assets/css/responsive.css
View file @
61b1d672
...
...
@@ -192,6 +192,9 @@
#slides
{
height
:
auto
!important
;
}
.close-btn-mobile
{
display
:
none
!important
;
}
}
@media
screen
and
(
max-width
:
860px
)
{
/* 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){
$
(
'.footer-home-content'
).
find
(
'.nav-content'
).
remove
();
//$('.home-footer-nav .nav-wrapper').css('top','initial');
$
(
'.home-down-wrapper'
).
css
(
'top'
,
'initial'
);
$
(
'.footer-home-content'
).
removeClass
(
'fixed'
);
$
(
'.main'
).
height
(
$
(
window
).
height
()
-
$
(
'.nav-header'
).
outerHeight
());
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');
<h2
class=
"crete -italic font-small"
>
<?php
echo
$sub_cat
[
0
]
->
name
?>
</h2>
<h3
class=
"crete"
>
<?php
the_title
();
?>
</h3>
</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=
"row"
>
<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');
<h2
class=
"crete -italic font-small"
>
<?php
echo
$sub_cat
[
0
]
->
name
;
?>
</h2>
<h3
class=
"crete"
>
<?php
the_title
();
?>
</h3>
</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=
"row"
>
<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