WordPress.org

Ready to get started?Download WordPress

Forums

Increse theme width and move header image to the top (11 posts)

  1. DomenU
    Member
    Posted 2 years ago #

  2. Andrew
    Forum moderator
    Posted 2 years ago #

    Where's your Child Theme?

  3. DomenU
    Member
    Posted 2 years ago #

    Didn't create it yet. I suppose it would be wise to make one.

  4. DomenU
    Member
    Posted 2 years ago #

    Now I've created a new folder inside Themes folder and created style.css that imports the style from the parent (e.g. Twenty Eleven's style.css)

    What to do to change things the way I've dsecribed above?

  5. Andrew
    Forum moderator
    Posted 2 years ago #

    Increase the width of the theme;

    #page {
     max-width: 1300px;
    }

    ??

  6. DomenU
    Member
    Posted 2 years ago #

    in style.css?

  7. Andrew
    Forum moderator
    Posted 2 years ago #

    In your Child Theme style.css file.

  8. DomenU
    Member
    Posted 2 years ago #

    There is something wrong. I created the child theme and imported the styles from parent. Hovever, the design is all broken now.

    http://fotodomen.byethost7.com

  9. Andrew
    Forum moderator
    Posted 2 years ago #

    Your website is trying to load this;

    http://fotodomen.byethost7.com/wp-content/themes/TwentyEleven_child/ftp.byethost7.com/htdocs/wp-content/themes/twentyeleven/style.css

    What is the contents of your Child Theme style.css file?

  10. DomenU
    Member
    Posted 2 years ago #

    @charset "utf-8";
    /* CSS Document */
    
    /*
    Theme Name:     Twenty Eleven Child
    Theme URI:
    Description:    Child theme for the Twenty Eleven theme
    Author:         Domen Ulbl
    Author URI:
    Template:       twentyeleven
    Version:        0.1.0
    */
    
    @import url("ftp.byethost7.com/htdocs/wp-content/themes/twentyeleven/style.css");
  11. Andrew
    Forum moderator
    Posted 2 years ago #

    Instead of this;

    @import url("ftp.byethost7.com/htdocs/wp-content/themes/twentyeleven/style.css");

    Try this;

    @import url("../twentyeleven/style.css");

Topic Closed

This topic has been closed to new replies.

About this Topic