• Resolved Cashlin

    (@cashlin)


    Hello,

    I’ve been using EasyRotator for over a year. It’s cool and easy to work with.

    However, I’d like to be able to specify CSS changes for the layout of text, images, thumbnails, etc, in a Manually Edited template for responsive. I know many of the Templates already are responsive, but the positioning on the responsive templates cuts off image sizes and text. For instance, the template width the dark gray background, 3 thumbnails below, a larger image above to the left, and text/title top right. The text and image are cut off as the screen shrinks.

    I’ve tried adding custom classes and internal CSS media queries and I’ve tried doing the same in my external responsive CSS. The rotator doesn’t seem to acknowledge my CSS.

    What’s going on here? Is this an ER pro-only thing? Has anyone else worked around this?

    Here’s an example of what I tried to put in that didn’t work:

    @media only screen and (max-width: 480px) {
    .erimgMain_slide { height:300px!important; }
    .erimgMain_img { height:300px!important; }
    .erimgMain_title { clear:both;display:block;height:300px!important;  }
    .erimgMain_desc { clear:both;display:block;height:200px!important; }
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author DWUser

    (@dwusercom)

    Hi,

    Please double-check that there’s a space before the !important flag; for example:

    .erimgMain_slide { height:300px !important; }

    If you experience any further trouble, please post the URL of your page.

    Sincerely,
    Drew O’Neill

    Thread Starter Cashlin

    (@cashlin)

    Hi — thanks for responding. I tried adding the space like you specified. Didn’t work within the source code of the slider, or in my responsive.css.

    This is the site I’m working on https://creativeholisticcounseling.com/

    My code in responsive.css and inside the slider source is

    .erimgMain_slide { height:300px !important; }
    .erimgMain_img { height:300px !important; }
    .erimgMain_title { clear:both; display:block; height:300px !important;  }
    .erimgMain_desc { clear:both; display:block; height:200px !important; }
    Plugin Author DWUser

    (@dwusercom)

    Hi,

    Your CSS appears to now be applied, but the overall height of the rotator is too small. I recommend you add another declaration:

    .dwuserEasyRotator { height: 400px !important; }

    The current values you’re specifying (e.g. height:300px) require significantly more space, or they should be adjusted to be smaller.

    Sincerely,
    Drew O’Neill

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom CSS in external stylesheets for responsive dimensions?’ is closed to new replies.