• Hi

    This is my site: phonedeal.dk
    I want the mainpage to be higher so that there is some space between the footer and the end of the page.

    How do I do this?
    My theme is Esplanade

Viewing 8 replies - 1 through 8 (of 8 total)
  • First start using Child Theme.

    Then add the following in your child theme’s style.css

    #footer {
         margin-bottom: 20px;
    }
    Thread Starter CLeth

    (@cleth)

    Hi and thanks

    I’ve been trying to create a child theme, and I guess I’m doing every right, but when I go to theme, this message will come:

    Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.
    Name Description
    Esplanade Child Theme The parent theme is missing. Please install the “Esplanade” parent theme.

    What I do, is creating a style.css with the following:

    /*

    Theme Name: Mio Child Theme

    Description: Child theme for the Mio theme

    Author: Christian Leth

    Template: Mio

    */

    @import url(“../Mio/style.css”);

    }

    And importing this to my new Esplanade-child folder in themes.. What am I doing wrong?

    Where are creating this style.css?
    You need to create a new directory in /wp-content/themes/.

    Is your theme template name is ‘mio’?

    You might want to read this one : https://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

    Thread Starter CLeth

    (@cleth)

    Hi again,

    I’ve did everything right, so I tryed this to another theme, and now it’s working, thanks!

    So, where do you want me to put this?

    #footer {
    margin-bottom: 20px;
    }

    I copyed it in the child-editor in WP, but nothing happens. Do I have to put it into my html editor and then uploade with ftp?

    Thread Starter CLeth

    (@cleth)

    When i put the codes into the child-theme and updates nothing happens.. Only when I edit in the parent-theme changes are updated on my site? ?? Sorry for being a newbie

    If you’re unable to use Child Theme, use Custom CSS Manager plugin to insert that.

    Install that plugin, then add following in it:

    #footer {
         margin-bottom: 20px !important;
    }

    Thread Starter CLeth

    (@cleth)

    Thank you very much! Just another thing.. Please take a look at my page: phonedeal.dk

    How do I remove the search-function to the menu-bar?

    For that setup child theme (that’s necessary in that case).
    Then copy header.php from parent theme directory to child theme directory.

    Now, edit header.php in child theme.
    Remove code from Line 46 to 50, that says:

    <div class="flex_33">
        <div id="search">
          <?php get_search_form(); ?>
        </div>
      </div>

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Change height of main mage’ is closed to new replies.