![]() |
Quote:
One thing I noticed is you can not use relative links back to Smugmug on your blog. They have to be full links. |
Quote:
Thanks again. Mike. |
Quote:
#my_banner { width: 199px; height: 66px; margin: 0 auto; background: url(http://www.myhomeoffice.org/eoscommon/images/logo.jpg) no-repeat; _background: none; _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enable d=true,sizingmethod=image,src='http://www.myhomeoffice.org/eoscommon/images/logo.jpg'); } */ |
Quote:
|
Quote:
add this new rule after the one above .homepage .menu a, .homepage .menu a:visited {background:#bbb;} these might toggle gallery and homepage so might need additional rules after this change I'll look at getting the backgrounds changed. Each change will need a specific homepage version because of the background difference. Tricky but can be done. Look at the head tag box and see if there is one of these in there. It shows on your page. > or > |
Quote:
Code:
#homepage {width: auto !important; margin-left: 15px !important; margin-right: 15px !important;} |
OK- it looks perfect on the homepage and the gallery pages. One thing though (sorry!)- the color is off for the intermediate page (where the country's galleries are listed): http://experienceplus.smugmug.com/Ou...ountry/Germany
|
Quote:
.category .menu a, .category .menu a:visited, .category.subcategory .menu a, .category.subcategory .menu a:visited, .homepage .menu a, .homepage .menu a:visited {background:#bbb;} .category .menu ul ul a.drop:hover, .category .menu ul ul :hover, .category.subcategory .menu ul ul a.drop:hover, .category.subcategory .menu ul ul :hover, .homepage .menu ul ul a.drop:hover, .homepage .menu ul ul :hover > a.drop {background:#bbb;} .category .menu :hover > a, .category .menu ul ul :hover > a, .category.subcategory .menu :hover > a, .category.subcategory .menu ul ul :hover > a, .homepage .menu :hover > a, .homepage .menu ul ul :hover > a { background:#bbb; } |
Quote:
|
Quote:
|
Hi there, I've been working on some code for my dropdown & flyout nav bar. I had it working this afternoon, but when I checked it out on another computer it is completely different! My fly outs arent working at all. I checked it on firefox ans Internet Explorer and it is spaced out wrong in IE. I am sure I went wrong with the code somewhere. You guys helped me before and I really appreciated it, and I was wondering if I could get some help again. Thank you so much.
link: www.sarahphotography.ca |
Quote:
In the mean time take a look at the troubleshooting code box in post No.1. |
Quote:
Code:
<div id="my_banner"> |
Quote:
Code:
/* CSS Dropdown Nav Bar *//* End Navbar Code */ } |
Thank you SO MUCH! I really honestly appreciate the help!! Out of curiosity so that I can know for next time, in the html, were there a lot of errors? Was I doing something consistently wrong?
|
Quote:
Looks like there is now an unclosed tag messing your site. Looks the CSS banner float:left; and menu align:right; is messing it up. How do you want them positioned? This in your header has no </div> <div align="right"> I'd remove it. |
Hi Allen,
First, thank you for the assistance you provided last month for my navbar questions. I'm sorry that I've not been back to say thanks sooner, but have been out of town and away from the computer thanks to the kids being home for summer vacation. I have gotten the issue resolved for the banner and navbar overlapping when re-sizing a browser. However, I am continuing to have an issue in IE8 with the navbar not working. The navbar displays the first level properly. When I move my cursor over the menu items, the drop downs will display. HOWEVER, if I then attempt to move the cursor to one of the items that has appeared, the item disappears as soon as I move the cursor off of the first level. It renders the navbar useless in IE8. The functionality is working properly for every other browser I have tested. Please help! Thank you, Anne |
Quote:
Try changing the top in this one px at a time until it works. 24 > 23 ... Code:
/* hide the sub levels and give them a position absolute so that they take up no room */ |
Thanks for the fast response! I tried your suggestion and once I brought it down to 20px, I can now drop down and select the first drop down menu item. Was still encountering the same problem for any menu items below the first two in the list. But your suggestion pointed me in the right direction for what to try tweaking. I scrolled down a bit in the CSS code and found this section:
/* style the second level links */ .menu ul ul a, .menu ul ul a:visited { color:#b72727; background:none; height:20px; line-height:20px; width:100px; } I changed the items that are in pink from 25px to 20px and that seems to have done the trick! Thanks so much!:clap:clap:clap |
Okay, I really hope this is my last question about my navbar!
The only problem that I am now encountering is that when I resize a browser page, the navbar items are dropping down and wrapping underneath each other. I really would like the navbar to be fixed so that if the browser width is minimized, a horizontal scroll bar would appear and the user would be forced to scroll to see the rest of the scrollbar. Thanks in advance! |
Making custom logo and nav bar same as website.
Hello Everyone,
My first post here. I am currently trying to set up my portfolio page for www.picturetheplanet.com. Everything is good except trying to get the custom logo and navbar the same as the site. I am not the best with code but have cut and pasted from my theme to get it to where it is now. The main problem is when I view the page in the same browser on 2 different sized monitors the nav bar and the logo change position and overlap. Any help would be greatly appreciated. My smugmug page is http://travelphotos.picturetheplanet.com/ thanks in advance, Dave |
Hello, Everyone:
I applied the code in the first post to my website, and it works. But I want to put the Navigator on the top right at the same level of my banner. I put this code on CSS box, but it turns out the Nav is at somewhat the middle of the screen. #navcontainer { float: right; margin-top: 30px; margin-bottom: 20px; } My smugmug website is: www.platinumwaterphoto.com Can you guys help me out here? Thanks a lot. Eric |
I try to get rid of the code I posted, the Nav is shown all the way at right, but still not in line with the banner.
Also, when click into the my portfolio, like Engagement, the Nav squeeze out the main page to the left. How do I fix it? I also want my banner and Nav has some space to the left/right edge of window, align with the space of main page. How can I realize it? Thanks Eric Quote:
|
Quote:
this to remove the photo. It will be added as a background in CSS. Then the nav will not pop down when they overlap. <div id="my-banner"></div> Change these in CSS like this. Adjust the red to move each in towards page center. Code:
#my-banner { |
Thanks, Allen:
I apply your code, but I still couldn't place the Nav and the Banner(logo) at the same horisonal level. It turns out the Nav bar is on top right and banner is below left. Also I couldn't make the right margin of Nav bar the same as the homepage. I have 50px margin right in the home page. Any idea? :bow I have been trying this web layout days and nights. Many thanks in advance. Eric. Quote:
|
Quote:
Code:
/* style the outer div to give it width */ |
Allen, YOU ARE THE BEST~~~~! I mean it. really!!!
Thanks so much for your help. I finally got what I want it to be. |
Navbar help
I have been trying to add all sorts of code into my header and CSS, but just can't get the dropdowns to work. Can you help?
http://russfrommaine.smugmug.com/ |
Quote:
for you when logged in if you add this to your CSS. .notLoggedIn .menu {display:none;} |
Different navbar formatting for a different gallery
Hi,
I am trying to make the Weddings category of my site have a different navbar format (black lettering on white) than the rest of my site (white on black). How do I do that? www.imagetru.com TIA for any help with this! Brenda |
Quote:
Code:
.menu a, .menu a:visited { |
Allen,
You are a complete star!!! That works perfectly! Many thanks -- especially for being so speedy! Brenda |
oops . . . one more question
Allen,
What you gave me works before except here: http://www.imagetru.com/Weddings This is fine, though: http://www.imagetru.com/Weddings/Ric...73903691_ihkH2 What do I need to do? (I want to make the navbar on all of the white wedding pages -- category page plus galleries -- black text with a white background to blend.) TIA for any help with this! Brenda |
Quote:
Remove the .galleryPage from each so it applies to the whole category, .category_Weddings.galleryPage .menu... like this .category_Weddings .menu... |
Thank you so much! You are so speedy! This did the trick!
I wish I knew all of this and didn't have to cobble it together and ask for help -- but you are making it possible for me to get the website going. Again, thank you sooooo much! Brenda |
Can anyone help with this?
Quote:
|
Quote:
nav at a set distance relative to each other. The following will lock the items at a set position relative to center. In the CSS use these position: relative; /* makes it movable */ width: XXXpx; /* assign width */ margin: 0 auto; /* auto R/L centers that width */ left: 200px; /* moves it to either side -200px or 200px */ |
Quote:
thanks allan, I see how this will work but it leaved the navbar below my custom logo. How do I adjust that? thanks, Dave |
Quote:
Add a div around the logo and nav. <div id="myHeader"> <div id="customLogo"> ... ... (end nav html) </div> #nav { float:right; /* margin: -40px 230px 40px 40px; padding:0px 0 6px 10px; */ position: relative; background:#000; font-family:"Helvetica Neue",Arial,Helvetica,sans-serif} #customLogo { background-color:transparent; background-image:url(http://picplanet.smugmug.com/photos/...SvmiP-Th.png); background-position:left top; background-repeat:no-repeat; position: relative; /* margin:5px 260px; */ width: 300px; height: 45px; float: left; } #myHeader { width: 988px; margin: 0 auto; } btw, the end of your nav html looks really messed up. |
Hi,
Does anyone know how to change the opacity of the background color in the drop down nav? For example, if you look at my site, the drop down menu has a solid gray background. I would like the gray to be translucent, but I can't find any code that works. Any suggestions? TIA |
| Times are GMT -8. It's 03:57 AM. |
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.