WordPress.org

Ready to get started?Download WordPress

Forums

Dzonia Lite
[resolved] Reduce or remove main image block (3 posts)

  1. jennmulch
    Member
    Posted 2 years ago #

    I love this theme, and only want to reduce or eliminate the main image -- I have a professional services firm and don't need so much graphic space. I am curious if I can edit this in the style.css file and make a child theme. Appreciate all ideas! Thanks so much,

    Jennifer Mulchandani
    President
    Arlington Strategy

    http://wordpress.org/extend/themes/dzonia-lite/

  2. mark3738
    Member
    Posted 2 years ago #

    Hi Jennifer

    You have probably already resolved this issue, but if not it is quite simple. I assume you are editing the files online, so the easiest way to remove the main image or 'slider' is to login to your control panel and go to Appearance->Editor.

    Choose front-page.php and then look for the Start Slide Wrapper section. We want to remove this code, but before doing that, I suggest downloading and saving a copy of the original file. If you don't have ftp access, just copy and paste the code as it is now into a Notepad or plain text file and save as something you remember.

    Now look for and remove the following code

    <!--Start Slide Wrapper-->
    <div class="grid_24 slider_wrapper">
      <!--Start Slider-->
      <div id="slides">
        <div class="slide slides_container"  >
          <!--Start Slider-->
          <div>
            <?php if ( inkthemes_get_option('inkthemes_slideimage1') !='' ) {  ?>
            <img  src="<?php echo inkthemes_get_option('inkthemes_slideimage1'); ?>" alt=""/>
            <?php }  else {  ?>
            <img  src="<?php echo get_template_directory_uri(); ?>/images/img-1.jpg" alt=""/>
            <?php } ?>
            <div class="caption conference">
              <?php if ( inkthemes_get_option('inkthemes_slideheading1') !='' ) {  ?>
              <h2><a href="<?php if ( inkthemes_get_option('inkthemes_slidelink1') !='' ) { echo inkthemes_get_option('inkthemes_slidelink1'); } ?>" class="readmore"><?php echo stripslashes(inkthemes_get_option('inkthemes_slideheading1')); ?></a></h2>
              <?php }  else {  ?>
              <h2><a href="#"><?php _e( 'Elegancy at its best', 'dzonia' ); ?></a></h2>
              <?php } ?>
              <?php if ( inkthemes_get_option('inkthemes_slidedescription1') !='' ) {  ?>
              <p><?php echo stripslashes(inkthemes_get_option('inkthemes_slidedescription1')); ?></p>
              <?php }  else {  ?>
              <p><?php _e( 'Set the description  for the Top Feature Section from the Themes Options Panel. Its really very simple and easy to customize the entire wordpress front page using the simple and easy to use themes options panel.', 'dzonia' ); ?></p>
              <?php } ?>
            </div>
          </div>
          <!--End Slider-->
        </div>
        <div class="slider_pag"></div>
      </div>
      <!--End Slider-->
    </div>
    <!--End Slider wrapper-->

    Update and view your new look. If you don't like it you can put the original code back.

    Hope that helps.

  3. jennmulch
    Member
    Posted 2 years ago #

    Mark, thank you so much for taking the time to show me how to do that! I really appreciate the help!
    Jennifer

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic