Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Do you want it just on single image pages or also on album and album set pages as well?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I can see a way to do this in the page template (just change breadcrumb padding in the Content section of the template), but it will affect the entire album, including the thumbnail grid.
I can see no easy way of doing this with custom css for the single-image page only. I see no selector above the breadcrumbs that identifies the page as being a single-image page (needed to target single-image pages specifically)
It might be possible with jQuery using a function that checks to see if a certain element exists (has length) and if so, add styling to another element (ul.breadcrumbs)
there are a couple of elements on the page that might work for this, like .single_image
I'd have to spend some time digging into this though (learn more jQuery -- not a bad thing!)
It might also be possible with phplugins and some code that determines if the page is using a url that includes the word "single", if so, apply more padding-top to the the ul.breadcrumbs selector.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Below breadcrumbs is entirely possible.
not sure why I read "pagination buttons" as breadcrumbs... too early in the morning most likely
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
this looks like it works:
ul.single_icons {
margin-top: 60px !important;
}
adjust margin-top to your liking.
It should probably go in a media query so that the extra margin isn't added on mobile devices.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
here's the rule in a media query. Adjust the min-width according to the devices you want to affect. With this, the top-margin setting affects only browser widths 1025 px and wider. So on an iPad in landscape mode, the margin won't be applied.
@media only screen and (min-width: 1025px) {
ul.single_icons {
margin-top: 60px !important;
}
}
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline