There is a lot about this themes custom home page template that makes it hard to find in the code for customizing. WordPress is Opensource – and using WordPress requires that even theme designers stay in the heart of that and not try to make it impossible to edit a theme.
First, About adding a slider to the homepage and resizing the home page post images – YES, IT CAN BE DONE!
Both of these will be done in the PHP File named: content-home.php
1. Slider:
The code you will focus on for this will be
<!-- Homepage Tagline -->
<div id="home-tagline" style="background: <?php echo get_theme_mod( 'home_tagline_bgcolor', '#e8e09d' ); ?> url(<?php echo get_theme_mod( 'home_tagline_bgimg', get_template_directory_uri().'/img/tagline.jpg' ); ?>); background-position: 50% 50%; background-size:100%;">
<?php $placement = get_theme_mod( 'home_tagline', '<h1>Home Tagline</h1>' ); if (!empty($placement)) : ?>
<div class="tagline-txt">
<?php echo do_shortcode( get_theme_mod( 'home_tagline', '<h1>Home Tagline</h1>' ) ); ?>
</div>
<?php endif; ?>
</div><!--#home-tagline-->
If you know php – this is where your slider php will go.
2. Post Images – on home page:
Again, this will be done in the content-home.php.
Open up this php file in Notepadd++ and look for line #79-81. You will see this:
<div class="col"<?php if ( $count == 2 ) : echo 'style="float: right;"'; else : echo 'style="margin-left: 0;"'; endif; ?>>
<div class="post-thumb" style="background: #FFF url(<?php $thumbnail = wp_get_attachment_image_src( get_post_thumbnail_id(), 'oprum-medium' ); echo $thumbnail[0]; ?>) no-repeat; background-position: 50% 50%; background-size: 100%;">
</div>
Just change the last line where it says
; background-size: 100%;">
from 100% to 50% or whatever size you’d like.
Now, for my question:
Why is there not a way to edit the #home-txt, .entry-header p {}
in the customizer? I have to go searching through php and files to get to this content? Are you going to add this to customizer in the future?