Support » Themes and Templates » How to remove default settings – Themia Lite

Viewing 6 replies - 1 through 6 (of 6 total)
  • In header.php, line 69, this line sets your logo image:

    <div class="logo">
        <a href="<?php echo home_url(); ?>">
        <img src="<?php if ( inkthemes_get_option('inkthemes_logo') !='' ) {?>
    <?php echo inkthemes_get_option('inkthemes_logo'); ?>
    <?php } else {?>
    <?php echo get_template_directory_uri(); ?>/images/logo.png<?php }?>" alt="<?php bloginfo('name'); ?>" />

    It looks like you can get rid of the else construct, which installs a default image named logo.png if none is declared in the theme options. If you don’t intend to ever use a logo you can delete the div and all the code inside it.

    Thank you Gary!
    Can I delete it directly in the editor?
    Or what will be a purpose of a child theme for deletions like this?

    Thank you!

    When I delete the line in the editor, it works!
    However, if I want a logo at the top (which I have downloaded one from the theme option), Themia Lite sets an image in the middle of my homepage (its a gift with a blue background, saying Make a difference). Can I get rid of that or even better, can I change it for a textbox?


    You can copy header.php (and any other page, post, or template file) into your child theme, if it exists WordPress will use it instead of the same-named file in the parent theme. That way the originl stays untouched, and you can always refer back to it if you break something.

    In the file front-page.php, around line 29 is a section that inserts that gift box image:

    <div id="main" class="container">
       <?php if (inkthemes_get_option('inkthemes_featureimg') != '') { ?>
       <img src="<?php echo inkthemes_get_option('inkthemes_featureimg'); ?>"/>
       <?php } else { ?>
       <img src="<?php echo get_template_directory_uri(); ?>/images/slideimg.jpg"/>
       <?php } ?>

    It looks as though you can select your own image in theme options, so play around with that until you get it right.

    I tried messing around with that automatic Themia logo, but then those default buttons shifted to the left, almost in the middle of the page (“Home” and “Sample Page”). How can I delete the logo and keep the buttons where they are?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to remove default settings – Themia Lite’ is closed to new replies.