Some little things to tighten up
ChancyRat
Registered Users Posts: 2,141 Major grins
Sorry for the general title but I need to cover a little range. There have been some things that used to work and now don't - very confusing. It's taken me months to be able to get around to asking.
But first - you Digital Grin folks ROCK! Thank you SO much for all the help.
And Smugmug - LOVE MY NEW SITE! I know you've got a lot of work to do - and I do too - but THANK YOU.
Smooches big time.
Okay, first, how do I get the chevrons on the sub-menus, to inside the boxes?
In this image I put the chevron's current location in PINK because it's impossible to spot, and where I want it to be, in GREEN.
I have tried looking at other people's menu code with inspect element but cannot figure out how to find it.
Thanks.
But first - you Digital Grin folks ROCK! Thank you SO much for all the help.
And Smugmug - LOVE MY NEW SITE! I know you've got a lot of work to do - and I do too - but THANK YOU.
Smooches big time.
Okay, first, how do I get the chevrons on the sub-menus, to inside the boxes?
In this image I put the chevron's current location in PINK because it's impossible to spot, and where I want it to be, in GREEN.
I have tried looking at other people's menu code with inspect element but cannot figure out how to find it.
Thanks.
0
Comments
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
lol, JoinRats.com
It's also under my name on the left on DG.
With this customization, the default positioning applied to the sub-menu indicator doesn't work properly. Something like the following bit of CSS should help the problem:
Note that you'll probably need to play with the padding and/or margin a bit in order to make sure the indicator doesn't overlap with long menu labels, but this should give you a good starting point.
Nice looking site!
-Mike
(and an avid landscape photographer - view my website)
Just adding the code you provided, did nothing. All that CSS may be misleading you as to how much I know. The code is really Nicholas, Aaron, Allen, Denise, Mike ... sorry if I've left out anyone... Aaron mostly got the navbar up and running via this thread: http://www.dgrin.com/showthread.php?t=244036&highlight=sub-menu.
Thanks.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Mike's suggestion changes the right padding for the menu item labels (to give the necessary space for the arrow) and has the added benefit of not introducing additional custom CSS. It should work just as well.
Another option, which you might prefer, would be to add the following rule:
What this would do is only apply the additional padding when there are submenus, and it would keep your existing spacing (which is not a lot of padding) for items that don't have the submenu - that way your "normal" menus wouldn't incur the extra space.
(and an avid landscape photographer - view my website)
Personally, I would prefer more padding. It's easier to read, IMO. When I disabled your padding:
...it looked better, at least to me.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
I'm so afraid to mess with the main theme css, because it was so hard to get right, that I held my breath and tried what seemed to me the least dangerous edit, which was to add this:
which seems to not have broken anything. Yay! Plus controlled the chevrons. Yay!
Mike I'm going to stay with the padding but may come back to it after a few other glitches are taken care of.
Okay, I'll mosey into the next bits:
1. Can I change the color of the chevrons on the sub-menus?
2. On my folders and galleries thumbnails, the titles used to wrap to a 2nd (or 3rd, or however many lines are needed).
For example the first gallery on this page:
http://www.joinrats.com/Intros
and the "Pet Rats? Oops?" sub-folder, middle column, 3 rows down, here:
http://www.joinrats.com/RatHealth
3. While I'm at it on the folder and gallery thumbs, with the titles below the image, I thought I could have a background color behind the titles, similar to when the title is ON the thumbs.
Thanks.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Perfect, thanks.
Hmm, didn't do anything...
I don't know if this code is also affecting the code that you gave me, Mike, to add color to the background of the titles. I don't know what to change or edit to achieve showing the full titles of galleries and folders, below the image, with a background color (all in any folder setting type, such as 3:2 or 1:3).
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
No go. :cry
This is what I added:
I'm very confused by the code I posted above - so many variations on what seem like the same code. I can't believe it isn't causing problems. Should I just delete all of it and ask fresh, "how do I xyz"?
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Did you put it in a particular place in the lineup of the code?
This is on the main theme CSS, correct?
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
That line of code is already in my CSS, as:
When I added this to the above:
the result was to add the color properly to the gallery title thumbnail images, but also to all captions for every photo in a gallery (consistent with the comment).
I need the code that isolates the gallery and folder thumbnail images... I'm still about the fact that you got results in firebug but I don't in the CSS directly.
Why, when I click play on a video, does the video image jump out of the box and off the right margin?
This is the gallery: http://www.joinrats.com/RatsAreHystericallyFunny/Hysterical/
and attached is what happens when I click play.
.sm-page-node-XqR8B .sm-video-center{box-shadow:0 0 1px 0 #4c4d4f;background:#fdf7dc;margin:5px 5px 5px 50px;padding:20px 80px 15px 100px}
My Website index | My Blog
Without that code - which you gave me, btw - the components inside the background color, don't sit right. Are outside the background area, etc.
If I'm able to apply padding and margins to fit the pieces, why can't I - or how can I - set the position of the video play?