Mon. - Fri. 9 am - 5 pm Ask a Question
Remember me

Class suffix for Albums

2 weeks 1 day ago #1

  • Crispin's Avatar
  • Crispin
  • Posts: 21
I note that for individual pictures there is an option for a Class Suffix to be added. This would be really handy if it were available for Albums to.

In my case I want my client to easily flag a vehicle in the gallery as 'SOLD'. But as I can't see any way to flag an Album that I can use in CSS to add the sold banner to the thumbnail for the album.

2 weeks 1 day ago #2

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 22680
Hello,
Thank you for contacting us

Send us a link to page with problem.
Perhaps we can offer you a custom solution

Regards,
Vyacheslav, Balbooa.com

2 weeks 1 day ago #3

  • Crispin's Avatar
  • Crispin
  • Posts: 21
The website is for a company that sells refurbished camper vans. We used another gallery extension previously that allowed us to flag a gallery. We want to display a 'Sold' banner on the Gallery thumbnail without my client haven't to create a new thumbnail image.

camperandmotorhomecentre.co.uk/

2 weeks 1 day ago #4

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 22680
We can offer you to add custom CSS Code
Instead of a class, we used an attribute [data-alias="2009-swift-mondial-gt-plus"]
.ba-album-items[data-alias="2009-swift-mondial-gt-plus"]:before {
    content: 'Sold';
    position: absolute;
    right: 10px;
    top: 10px;
    background: #f00;
    padding: 5px;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
}

Best Regards,
Vyacheslav, Balbooa Support Team

2 weeks 1 day ago #5

  • Crispin's Avatar
  • Crispin
  • Posts: 21
Thank you

I can see how that would work but my client is not tech savvy so how would he flag the album so that when he's sold a van he update via the admin?

2 weeks 1 day ago #6

  • Crispin's Avatar
  • Crispin
  • Posts: 21
I think I have found a solution with your help. Adding a wildcard [data-alias^="sold-"] means my client only needs to add sold- to the alias.

Thank you for your help

2 weeks 1 day ago #7

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 22680
Great solution ;)
Let us know if you need more assistance!

Best Regards,
Vyacheslav, Balbooa Support Team
Powered by Kunena Forum