![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
-
AuthorPosts
-
July 10, 2024 at 11:54 am #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.
July 10, 2024 at 5:48 pm #1461793Hey 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,
MikeJuly 11, 2024 at 5:05 pm #1461860Hi 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!
July 11, 2024 at 5:52 pm #1461864Hi,
It would be easier to see a test page, I assume this is what you want:
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,
MikeJuly 11, 2024 at 6:06 pm #1461865Hi Mike, wonderful. I adjusted a few parameters and it works just great. Thank you for your help!
Best,
AlbertJuly 11, 2024 at 7:09 pm #1461874Hi,
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,
RikardJuly 31, 2024 at 11:28 am #1463422Hi,
I’m reopening this ticket because I would like to hide the line on small screens.
Thank you in advance for your help!
Best,
AlbertJuly 31, 2024 at 6:30 pm #1463451Hi,
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,
RikardAugust 1, 2024 at 8:54 am #1463494Thank you, Rikard, works great!
Best,
AlbertAugust 1, 2024 at 10:14 am #1463502Hi,
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,
RikardAugust 1, 2024 at 10:17 am #1463505That’s all. You can go ahead and close it.
Best,
AlbertAugust 1, 2024 at 12:08 pm #1463515Hi,
Thanks for letting us know. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
AuthorPosts
- The topic ‘Add a line between title and text in a fullwidth easy slider’ is closed to new replies.