• I am new to coding but I am trying to figure out to have my logo and my advertisement line up on the header side by side. On of them on the right and one on the left. But it keeps jumping down to the next line so that they are not the same level. Any idea on how to fix this?

    I am using this code to align them:

    <div align="right">

    Thanks

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter pjeremy90

    (@pjeremy90)

    yes, my site is selectvines.com and I don’t have a child a theme put in place. I didn’t know anything about child themes, so I will start using one thanks for your advice.

    Okay, get that set up and then go back to the alignment issues. I think it won’t be that complicated — you’ll just need to put the ad inside a div so that you can use that div to apply CSS — something like this:

    <div id="header-ad">
    ad stuff goes in here
    </div>

    You’d make the above changes in a copy of the header.php file that’s in your child theme.

    and then in the CSS (in the child theme style.css file):

    #header-ad {
       float: right;
       other positioning styles as relevant;
    }

    Thread Starter pjeremy90

    (@pjeremy90)

    That works great, thanks for your help!

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘align help’ is closed to new replies.