Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #10822

    Hey guys, awesome theme!

    I’m trying to put a phone number div above the menu and below the social icons – and failing miserably… whatever float I choose, it breaks the whole theme… I know this is a kind of a customization, but could you suggest some solution? I’m really stuck on this one.

    Thanks!

    #69535

    Hey xorred,

    If you can provide a link, I’ll take a look and see if I can give you a quick fix.

    Regards,

    Devin

    #69536
    #69537

    Hi xorred,

    I don’t see anything up right now to modify. But you should be able to open up the header.php and add your own div right above the logo without issue. Just make sure to add the css in the custom.css. If you want to make it super simple, add:

    <p class="contact-number">123456789</p>

    Then you can add some attributes for .contact-number if needed.

    Regards,

    Devin

    #69538

    Alright…. well, that’s what I did and can you look at the result? I can’t seem to be able to position it properly, it’s moving the menu to the left…

    #69539

    Hey!

    You need to position the div. Add following css code to css/custom.css:

    .contact-number{
    position: absolute;
    top: 10px;
    right: 10px;
    }

    and adjust the top/right value if required.

    Best regards,

    Peter

    #69540

    how did I forget about position:absolute? Dang! Thanks…

    #69541

    Hey xorred,

    Glad Dude was able to help you out. When I first looked at the site, I didn’t see any additional html added for the item so I was’t sure what level of assistance you needed :)

    Cheers,

    Devin

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

The topic ‘trying to put a phone number DIV above the menu, and failing miserably’ is closed to new replies.