• Resolved tiffanyscott

    (@tiffanyscott)


    Newbie alert. I am using customizr child theme. My website is http://sproutedjourney.com. I would like to know how to float the main content on my page differently for different pages. Right now I would like the home page, which is a static about page, to float left and I want most other pages to float right. I would also like to figure out how to change the width of the text inside the border radius if possible, right now the text is too close to the edges.
    For the floating issue I am using this code (which only works for ALL pages to look the same):

    .span9 {
    width: 868px;
    float: right;
    }

    and

    For the border-radius I am using this code:

    .span9.article-container {
    border-radius: 10px;
    background: #FAFAFA;
    }

    Thank you!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tiffanyscott

    (@tiffanyscott)

    I figured out the second part of this question; I just aligned the text:
    `.span9.article-container {
    border-radius: 10px;
    background: #FAFAFA;
    text-align: center;
    }’

    Thread Starter tiffanyscott

    (@tiffanyscott)

    nevermind. I just left it as-is and went into the dashboard to update the actual page content and wrote <center> TEXT </center> on the page I wanted to specifically centered. Easy fix.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘float content differently on different pages’ is closed to new replies.