Commit c7edb2d9 authored by John Punzalan's avatar John Punzalan

Update homepage and concept

parent 0cadc54b
......@@ -26,7 +26,8 @@ footer {
}
.exposition-block {
position: relative;
padding-left: 50px;
padding-left: 75px;
padding-right: 75px;
background-color: #ffffff;
font-family: 'Roboto';
}
......@@ -43,6 +44,9 @@ footer {
.nav li.homepage-link {
width: 30%;
}
.nav li.last-child-menu a {
padding-right: 0;
}
.nav li a {
color: #0e0e0e;
font-family: 'Montserrat';
......
......@@ -32,7 +32,8 @@ footer {
.exposition-block {
position: relative;
padding-left: 50px;
padding-left: 75px;
padding-right: 75px;
background-color: #ffffff;
font-family: 'Roboto';
> div {
......@@ -58,6 +59,12 @@ footer {
width: 30%;
}
&.last-child-menu {
a {
padding-right: 0;
}
}
a {
&:first-child {
......
<?php
define('ACF_OPTION', 'option');
function someori_fabricants() {
if(have_rows('fabricants')) { ?>
<div class="fabricants js-fabricants">
<?php while(have_rows('fabricants')) :
the_row();
// ACF vars
$fabricant_name = get_sub_field('fabricant_name');
$fabricant_photo = get_sub_field('fabricant_photo');
$fabricant_speciality = get_sub_field('fabricant_speciality');
$fabricant_text_1 = get_sub_field('fabricant_text_1');
$fabricant_text_2 = get_sub_field('fabricant_text_2'); ?>
<div class="fabricant-item row">
<div class="span6 full cover-bg" style="height: calc(100vh);"></div>
<div class="span6 full full-screen-height exposition-block">
<?= get_template_part('template', 'menu'); ?>
<div class="row-fluid right-block-text" style="height: calc(100vh - 109px);">
<div class="row-fluid">
Test
</div>
<div class="row-fluid">
test
</div>
</div>
</div>
</div>
<?php endwhile; ?>
</div>
<?php }
}
\ No newline at end of file
......@@ -21,7 +21,6 @@
<div class="row-fluid">
<div class="span5 text-justify"><?= get_field('left_column_text'); ?></div>
<div class="span5 offset1 text-justify translate-text"><?= get_field('right_column_text'); ?></div>
<div class="span1"></div>
</div>
</div>
</div>
......
<?php
/*
* Template Name: Fabricant Template
*
*/
?>
<?php get_header(); // Header ?>
<div id="content">
<div id="inner-content">
<main id="main" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">
<section class="row-fluid">
</section>
</main>
</div>
</div>
<?php get_footer(); // Footer ?>
\ No newline at end of file
<header class="header" role="banner" itemscope itemtype="http://schema.org/WPHeader" style="width: calc(100% - 50px);">
<header class="header" role="banner" itemscope itemtype="http://schema.org/WPHeader" style="width: calc(100% - 150px);">
<div id="inner-header" class="cf" style="width: 100%;">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment