Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #309590

    Hi,

    I’m looking for a convenient way to insert images into a tab title (one per title to be specific) without altering the normal tab function and display of other tabs on my website. I hope yu guys can help me out. (:

    bradbranson

    #309675

    Hey bradbranson!

    Thank you using the theme.

    If you don’t mind, please provide a screenshot of what you’re trying to do. You can use this on custom.css to change the background of the tab title:

    div[data-fake-id='#tab-id-1'] {
    background: red !important;
    }

    The !important should not be removed if you’re planning to use an image as background. The selector for the second tab title would be something like this:

    div[data-fake-id='#tab-id-2'] {
    background: blue !important;
    }

    Cheers!
    Ismael

    #310062

    Hey,

    sure. Here you go:

    design_explanation

    Is this possible with the code you provided?

    Cheers,
    bradbranson

    #310207

    Hey!

    Actually you can put image HTML tags as the Tab title:

    Regards,
    Josue

    #310634

    Thanks a bunch, Josue!

    Unfortunately, it seems normal img alignment does not work in the tabs title, right?

    bradbranson

    • This reply was modified 9 years, 7 months ago by bradbranson.
    #310646

    Hi Marlon!

    I think that can be fixed with CSS, can you post a link to the page where you are trying this?

    Cheers!
    Josue

    #310680

    I found a solution. (:

    Thanks for the awesome support!

    bradbranson

    #310718

    You are welcome, glad we could help :)

    Regards,
    Josue

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.