Forums

[resolved] How do I align content? (3 posts)

  1. pennywhistle
    Member
    Posted 5 months ago #

    How do I top-align the main text on my homepage with the nav bar on the left, so that it appears beside it, not below it?

  2. alchymyth
    The Sweeper
    Posted 5 months ago #

    it seems that your child theme is not importing the stylesheet of the parent theme, therefore missing alot of important styles.

    try and add:

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

    to style.css of the child theme, before the other '@import' line

  3. pennywhistle
    Member
    Posted 5 months ago #

    Sorry, just realized I posted this under the wrong topic.

    I intentionally didn't import the parent theme's styles because I wanted a more stripped down site.

    I figured out the alignment problem. Enter this code and adjust accordingly to fix alignement issues.

    #content {
    position:relative;
    top:-114px;
    left:150px;
    }

Reply

You must log in to post.

About this Topic