× Got a CSS, HTML or webdesign question? Ask it here!

in deco 8 I'm trying to align logo and title one way and drop downs the other

2 months 3 weeks ago #21234 by matt1
so i threw together a site to try get it set up before transfering all the old sites over to it so i didn't brake anything and i figured out how to do everything i want to other that align the top log and drop down menu below it logo to the left and drop down to the right attache if a Photoshoped image of what i am trying to accomplish but as of yet cant figure out how to.

M13
Attachments:

Please Log in or Create an account to join the conversation.

2 months 3 weeks ago #21252 by ccruz
Hey Matt,

The logo placement is determined by the selected template. We currently don't have a template with a left aligned logo available. Because there's quite a bit going on with responsive layout it requires a few CSS rules to accomplish what you're after. Here's a CSS snippet to accomplish what you're after on the Fasion Theme which your site is using.
@media only screen and (min-width: 768px) {
    header .dn-large-header .dn-logo-container {
        text-align: left;
        padding: 0px 0px 0px 10px;
        float: left;
    }

    header .dn-nav-main-container {
        display: inline-block;
        width: calc(100% - 400px);
    }

    .dn-inline-header nav.dn-nav-main {
        text-align: right;
    }
}

-Cris
The following user(s) said Thank You: matt1

Please Log in or Create an account to join the conversation.

2 months 2 weeks ago #21292 by matt1
thank you for your help this works brilliantly

M13
The following user(s) said Thank You: gregp

Please Log in or Create an account to join the conversation.

Time to create page: 0.128 seconds
Powered by Kunena Forum