Untitled. Creative Agency Theme

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

Label in price table

2 weeks 2 days ago #1

  • Alberto's Avatar
  • Alberto
  • Posts: 386
Hello support many price tables have the ability to put labels. Can you consider being able to configure them?
You can see image attached for what i am asking. Thanks a lot
Attachments:

2 weeks 2 days ago #2

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

We will consider your proposal,
you can try to do this using custom code

Regards,
Vyacheslav, Balbooa.com

2 weeks 2 days ago #3

  • Rene's Avatar
  • Rene
  • Posts: 287
+1

2 weeks 2 days ago #4

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 10581
You need to add a class for the text plugin custom-label
And in the code editor add CSS code (Change the coordinates top and left according to need).
.ba-item-text.custom-label {
    position: absolute;
    top: 24px;
    left: -60px;
    display: inline-block;
    transform: rotate(-45deg);
    width: auto;
    z-index: 999;
}

.ba-item-text.custom-label .content-text {
	display: inline-flex;
    padding: 0 10px;
    background: #f00;
    z-index: 2;
    overflow: hidden;
}

.ba-item-text.custom-label .content-text:after,
.ba-item-text.custom-label .content-text:before {
    border: 15px solid transparent;
    content: "";
    height: 0;
    position: absolute;
    width: 0;
    z-index: -1;
    top: 22px;
}

.ba-item-text.custom-label .content-text:before {
    left: 0;
    border-left-color: #a20000;
}

.ba-item-text.custom-label .content-text:after {
    left: 222px;
    border-right-color: #a20000 !important;
}

Result example:


Regards,
Vyacheslav, Balbooa.com

2 weeks 2 days ago #5

  • Alberto's Avatar
  • Alberto
  • Posts: 386
Great i will try and you are the best for people like me that need your help ;)

1 week 6 days ago #6

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 10581
You are welcome ;)
Let us know if you need more assistance!

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