CSS for homepage and different on all other pages

Community Forums Forums Design Tips and Tricks CSS for homepage and different on all other pages

This topic is: not resolved

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  cdils 1 year, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28282

    blueprairie
    Participant
    Post count: 14

    How can I set a different width in .sidebar-content #content-sidebar-wrap, .content-sidebar #content-sidebar-wrap {

    for my homepage than for all my other pages?

    Thank you!

    Site here if it helps:  http://vanmeteria.server276 dot com

    #28361

    cdils
    Participant
    Post count: 421

    Hi there,

    I couldn’t get the link to your site to work, but most StudioPress themes have a “home” body class built in that you can target via CSS, so you could target your sidebar with something like:

    .home .sidebar-content .blahblah

    To check for sure, do a view source on your page and check the <body> tag near the top. You should see a class=”home” or similar. Once you’ve confirmed it’s there, you can go to town on your CSS. :)

    Cheers,

    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

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

You must be logged in to reply to this topic.