mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Hero image resolving
This commit is contained in:
parent
b4f0bb1028
commit
ac696d4d65
@ -379,6 +379,8 @@ class HtmlEngine
|
||||
$data['$page_size'] = ['value' => $this->settings->page_size, 'label' => ''];
|
||||
$data['$page_layout'] = ['value' => property_exists($this->settings, 'page_layout') ? $this->settings->page_layout : 'Portrait', 'label' => ''];
|
||||
|
||||
$data['$tech_hero_image'] = ['value' => asset('images/pdf-designs/tech-hero-image.jpg'), 'label' => ''];
|
||||
|
||||
$arrKeysLength = array_map('strlen', array_keys($data));
|
||||
array_multisort($arrKeysLength, SORT_DESC, $data);
|
||||
|
||||
|
Before Width: | Height: | Size: 594 KiB After Width: | Height: | Size: 594 KiB |
@ -73,7 +73,7 @@
|
||||
.hero-section {
|
||||
margin-top: 50px;
|
||||
min-width: 100% !important;
|
||||
background: url('https://s2.aconvert.com/convert/p3r68-cdx67/a1w02-5arkz.jpg');
|
||||
background: url('$tech_hero_image'); /** If you want to replace the image, this is the place to do it. */
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
|
Loading…
x
Reference in New Issue
Block a user