Disappearing caption on a slider

4 replies · opened Jul 25, 2016

CcadilhacJul 25, 2016

I have some animated text on a slider that displays well when my browser is full screen. But when I resize it to look like a phone in size, the text disappears. To be more precise, an H2 tag stays on screen. But a P tag or an action button with an A tag disappears. I guess it takes some custom css to keep it when window size is small? Thanks.

SSemicolon WebSTAFFJul 25, 2016

Hello,

Please find and delete the following code in the css/responsive.css File:

.slider-caption p,
.slider-caption .button,

This will definitely work fine. Let us know if we can help you with anything else or if you find any further issues.

CcadilhacJul 25, 2016

hummm, I'm against removing stuff from your files.
No way to add something in my custom.css file, the one that is loaded last?
I tried this, but it doesn't work:

@media (max-width: 767px) {
    .slider-caption p, .slider-caption .button {
        display: block !important;
    }
}``

FYI, when I click on PRE in this editor, it opens a blank popup on a black overlay and I can do nothing with that.

CcadilhacJul 26, 2016

Sorry, I guess it was a cache problem. Because now, suddenly my solution works. And it works better with inline-block for the button.

SSemicolon WebSTAFFJul 27, 2016

Hello,

Really Glad that your issues were resolved. Thanks for your Patience.

Do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard