Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Panasonic
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
John
Panasonic
Commits
98a56c7e
Commit
98a56c7e
authored
Jan 10, 2017
by
John Punzalan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update product view, add image
parent
7dd6c867
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
2 deletions
+21
-2
media.phtml
...d/lecanal/oscar/template/catalog/product/view/media.phtml
+3
-2
style.css
skin/frontend/lecanal/oscar/css/style.css
+9
-0
style.less
skin/frontend/lecanal/oscar/less/style.less
+9
-0
No files found.
app/design/frontend/lecanal/oscar/template/catalog/product/view/media.phtml
View file @
98a56c7e
...
...
@@ -45,6 +45,7 @@ $_helper = $this->helper('catalog/output');
<!--
<
img
src
=
"--><?//=
$_product->getImage
() ?><!--"
/>-->
<?
php
//endif; ?>
<
img
src
=
"<?=
$_product->getImageUrl
() ?>"
/>
<
div
class
="
class
-
img
">
<img src="
<?=
$_product
->
getImageUrl
()
?>
" />
</div>
skin/frontend/lecanal/oscar/css/style.css
View file @
98a56c7e
...
...
@@ -15259,6 +15259,15 @@ header[role="banner"] {
background-origin
:
content-box
;
padding-top
:
90px
;
}
.your-class
.image-product
.class-img
,
.your-class-view
.image-product
.class-img
{
min-height
:
700px
;
height
:
100%
;
}
.your-class
.image-product
.class-img
img
,
.your-class-view
.image-product
.class-img
img
{
padding
:
20%
50%
;
}
.your-class
.product-info-block
,
.your-class-view
.product-info-block
{
padding
:
70px
0
;
...
...
skin/frontend/lecanal/oscar/less/style.less
View file @
98a56c7e
...
...
@@ -287,6 +287,15 @@ header[role="banner"] {
background-origin: content-box;
padding-top: 90px;
}
.class-img {
min-height: 700px;
height: 100%;
img {
padding: 20% 50%;
}
}
}
.product-info-block {
...
...
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