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
8528f153
Commit
8528f153
authored
Aug 30, 2017
by
imac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Responsive]Resolution 1920 : Product page
parent
4b13b11c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
0 deletions
+37
-0
responsive.css
wp-content/themes/nap/assets/css/responsive.css
+33
-0
simple.php
...mes/nap/woocommerce/single-product/add-to-cart/simple.php
+2
-0
variable.php
...s/nap/woocommerce/single-product/add-to-cart/variable.php
+2
-0
No files found.
wp-content/themes/nap/assets/css/responsive.css
View file @
8528f153
/* ------------------------*/
/* ---------->>> 1920 <<<-----------*/
/* ------------------------*/
@media
screen
and
(
min-width
:
1920px
)
{
#slides
{
width
:
700px
;
}
.element-slider
{
height
:
700px
;
}
.product-images
{
width
:
54%
!important
;
}
.product-slides
.product-header
{
margin-left
:
0px
;
padding-left
:
0px
;
padding-top
:
72px
;
}
.product-details
{
width
:
calc
(
41%
-
5px
);
max-width
:
781px
;
}
label
.chevron.bottom
{
width
:
100%
;
}
.pa_format
ul
li
{
max-width
:
92%
;
}
.product-info
.info-content
{
padding-top
:
20px
;
}
.inner-product-info
{
margin-top
:
50%
;
}
}
/* ------------------------*/
/* ---------->>> 1280 <<<-----------*/
/* ------------------------*/
@media
screen
and
(
max-width
:
1280px
)
{
...
...
wp-content/themes/nap/woocommerce/single-product/add-to-cart/simple.php
View file @
8528f153
...
...
@@ -126,6 +126,7 @@ do_action('woocommerce_before_add_to_cart_form');
<div
class=
"product-details full-height row right transition"
>
<div
class=
"product-info row center right border-l"
>
<div
class=
"inner-product-info"
>
<div
class=
"info-content"
>
<?php
$formats
=
explode
(
','
,
nap_variation_format
(
$id
));
?>
<h2
class =
"crete font-small"
>
<?php
echo
$sub_cat
[
0
]
->
name
?>
</h2>
...
...
@@ -169,6 +170,7 @@ do_action('woocommerce_before_add_to_cart_form');
<?php
endif
;
?>
</div>
<!-- END inner-product-info -->
</div>
</div>
<div
class=
"product-list transition border-l fixed"
>
...
...
wp-content/themes/nap/woocommerce/single-product/add-to-cart/variable.php
View file @
8528f153
...
...
@@ -270,6 +270,7 @@ do_action('woocommerce_before_add_to_cart_form');
</form>
<div
class=
"product-info row center left border-l"
>
<div
class=
"inner-product-info"
>
<div
class=
"info-content"
>
<?php
$format
=
get_post_meta
(
$current_variationID
,
'attribute_pa_format'
,
true
);
...
...
@@ -312,6 +313,7 @@ do_action('woocommerce_before_add_to_cart_form');
<?php
if
(
count
(
$product
->
get_upsell_ids
()))
:
?>
<div
class=
"font-small circle-btn add-icon show-product"
><span
class=
"abs-center"
>
Produits associées
</span></div>
</div>
<!-- END inner-product-info -->
</div>
<?php
endif
;
...
...
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