aladd1n 0 Report post Posted November 18, 2011 Hello, I would like to have my sub-nav links align to the right of the screen. How do I accomplish this? Custom CSS? I tried a few things but couldnt get it to work. 2nd question: Once subnav is aligned to the right, is there any way to insert an image on the same line as the subnav but justified to the left. Kinda like how apple does it here: http://www.apple.com/ipad/ Thanks Share this post Link to post Share on other sites
catrina 103 Report post Posted November 18, 2011 What CSS have you tried so far? Can you please post a link to your site? Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
aladd1n 0 Report post Posted November 18, 2011 Link to development site: http://www.mbhomes2.com/why-meadowbrook/ Code Tried So Far: #secondnav_menu ul .current-menu-item {background: #d1bed0; align: right;} ul#menu-subnav-en li#menu-item-251 {font-size: 30px; align: right;} Thanks Share this post Link to post Share on other sites
catrina 103 Report post Posted November 18, 2011 The selectors .current-menu-item would only affect the individual menu items (not the entire menu) and align: right is a property that doesn't always work. Try: [code]#secondnav_menu {float: right;}[/code] Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
aladd1n 0 Report post Posted November 18, 2011 Thanks for the suggestion. Tried it but didnt work. Could it be conflicting with some other code? Share this post Link to post Share on other sites
catrina 103 Report post Posted November 18, 2011 What other code do you have? Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
aladd1n 0 Report post Posted November 18, 2011 This is all of my custom css #secondnav_menu {float: right;} .main-nav li.current_page_item a {background:#0f2c46;} #primary-nav li.current_page_item a {color:#ffffff;} .main-nav li a:hover{background-color:#0f2c46; !important;} #carousel .content-pad {background:none;} #secondnav_menu ul .current-menu-item {background: #d1bed0; align: right;} ul#menu-subnav-en li#menu-item-251 {font-size: 30px; align: right;} #nav_row.main_nav, ul.sf-menu ul li, .fpost { border-bottom: 0px; } body{} #banners div.banner-text {font-size: 12.5px;} div.banner_container {height: 100px; margin-top: +10px; margin-left: 25px;} #callout.content.pad #boxes h3{text-align:center;} .soapbox-links{padding-left:90px;} .fboxtext{text-align:center;} Share this post Link to post Share on other sites
catrina 103 Report post Posted November 18, 2011 I checked again and the selector should be #secondnav instead of #secondnav_menu. Try this CSS instead: [code]body.page-id-49 #secondnav div.content-pad {width: 400px; margin-left: 544px;}[/code] Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
aladd1n 0 Report post Posted November 18, 2011 Sweet, that did it. Thanks Catrina. Share this post Link to post Share on other sites
aladd1n 0 Report post Posted November 18, 2011 Now, any ideas on how to get an image, or text (not a link, more like a heading) to display at the left of the same sub-nav rom? Thanks in advance. Share this post Link to post Share on other sites
catrina 103 Report post Posted November 18, 2011 Are you using PlatformBase? (You'll need this to make edits to the files) Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites