Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1461769

    Hello, I would like to add a 100px white line between the caption title and caption text in a fullwidth easy slider via CSS. Could you please help? Thank you in advance.

    #1461793

    Hey albertgarduno,
    Please link to your page so we can examine and help with the css, I understand that the white line is 100px wide, but how tall? Will this be on all pages or just the one that you link to?

    Best regards,
    Mike

    #1461860

    Hi Mike
    Sorry I cannot share the page at this point. What I can do is give you more details:

    – The line should be 2px tall
    – This line would be in the first slide. Actually, I would keep the caption title and text of the first slide for the duration of all the slider, this is a nice option of the fullwidth easy slider.
    – For now, I don’t plan to have more sliders in the website but I would rather keep the css only for this. Just in case in the future we decide to have more sliders.

    If you have any futher questions, please let me know so I can provide you more details. Thank you in advance!

    #1461864

    Hi,
    It would be easier to see a test page, I assume this is what you want:
    Enfold Support 6283
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .avia-fullwidth-slider .avia-caption-title:after {
        content: "";
        background: #fff;
        position: absolute;
        bottom: 0;
        left: 46%;
        height: 2px;
        width: 100px;
    }

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    Adjust the color to suit, after applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1461865

    Hi Mike, wonderful. I adjusted a few parameters and it works just great. Thank you for your help!

    Best,
    Albert

    #1461874

    Hi,

    Great, I’m glad to hear that Mike could help you out. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1463422

    Hi,

    I’m reopening this ticket because I would like to hide the line on small screens.

    Thank you in advance for your help!

    Best,
    Albert

    #1463451

    Hi,

    Please try this CSS instead:

    @media only screen and (min-width: 768px) {
    .avia-fullwidth-slider .avia-caption-title:after {
        content: "";
        background: #fff;
        position: absolute;
        bottom: 0;
        left: 46%;
        height: 2px;
        width: 100px;
    }
    }

    Best regards,
    Rikard

    #1463494

    Thank you, Rikard, works great!

    Best,
    Albert

    #1463502

    Hi,

    Great, I’m glad that we could help. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1463505

    That’s all. You can go ahead and close it.

    Best,
    Albert

    #1463515

    Hi,

    Thanks for letting us know. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Add a line between title and text in a fullwidth easy slider’ is closed to new replies.