- This topic is empty.
-
AuthorPosts
-
October 12, 2014 at 5:09 am #186070
web_editor
ParticipantHow to inline the logo and navigation horizontally? But the responsive design of the logo and nav will not lose.
CSS of logo
#masthead .site-branding{ float: left; padding: 15px 0; } #masthead .site-branding img{ height: auto !important; width: auto !important; display: block; }
October 12, 2014 at 9:34 am #186085Paulie_D
MemberPerhaps you could show us your issue in a Codepen.io demo?
October 12, 2014 at 7:31 pm #186100web_editor
Participant@Paulie_D Here’s the codepen
I want to inline the navigation next to logo. See the link above of the sample photo (my desired output)
October 14, 2014 at 1:32 am #186168web_editor
Participant@Atelierbram absolutely yes, if I apply your suggestion? the responsive for smaller screens will not affect? But I edit the html of logo, right header and nav
Like this
<div class="ak-container"> <div class="site-branding">existing code</div> <div class="right-header clearfix">existing code</div> <nav id="site-navigation" class="main-navigation menu-right">existing code</nav> </div>
And then I apply your suggestion, now the nav is missing. Here’s the codeopen
October 14, 2014 at 2:40 am #186172web_editor
Participant@Atelierbram what css line? Under of main-navigation? I edit, but nothings happen. Could you give the codeopen?
October 14, 2014 at 3:06 am #186173Atelierbram
Participant@web_editor line 44
October 14, 2014 at 3:10 am #186174web_editor
ParticipantOctober 14, 2014 at 3:36 am #186176web_editor
ParticipantI see @Atelierbram I delete now the clone top-header. And the nav is now displaying. But the logo is now duplicate. How to remove the extra logo above?
October 14, 2014 at 11:36 pm #186257web_editor
Participant@Atelierbram i removed now. But how can I freeze or sticky the logo and navigation?
October 15, 2014 at 2:06 am #186270Paulie_D
MemberApril 25, 2016 at 3:50 am #240885dizonfarrel
ParticipantYou can always set the value and assign the attributes you want for your logo in the CSS field, simple needs you time and effort aligning it until you get your desired value to use. In any case, someone here have the same problem and needs some expert help, they can just check this tips at http://eatmywords.com/tips/is-your-name-lame/ for references.
April 25, 2016 at 4:43 am #240887Shikkediel
Participantsomeone here have the same problem
No they don’t, stop spamming.
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.