• Resolved fran330

    (@fran330)


    Hi,
    I use the “Fill” fillmode for each slide of my slider. I see that all background images are centered (position center center).
    I would like that some of them were “top center”, other were “bottom left”, etc. I am trying but it’s not working.

    This is what I have tried. I have assigned a class to a slide, in Slides/Misc.
    Example, I assigned the class “pos-bottom-left” to the first slide.

    In my theme custom CSS, I added this:

    .pos-bottom-left {
    	background-position: bottom left !important;
    }

    It doesn’t do anything.

    In order to check the class itself, I tried this:

    .pos-bottom-left {
    	border: 3px solid red !important;
    	background-position: bottom left !important;
    }

    The red border is showing so the class itself is working. But any style concerning the background is not working.

    Can you help me?

    Thanks for your attention,
    Fran

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor averta support

    (@averta_support)

    Hi,

    Thank you for choosing Master Slider.

    Slides are not background images, that is why your style is not working properly. You can use this kind of code instead of that and change the margines:

    .pos-top-left .ms-bg-count img { margin-top: 0 !important; margin-left: 0 !important; }

    If you need any further information, please let me know.

    Best,

    Thread Starter fran330

    (@fran330)

    Thanks for your reply.

    I tried your code, using margin-top, then margin bottom, margin-left, then margin-right, and using different margin values. It does’nt do anything…

    However, don’t worry too much for me. I think I’ll just crop my images to the right dimensions in advance and it’ll be alright.

    Cheers,
    Fran

    Plugin Contributor averta support

    (@averta_support)

    Hi Fran,

    I am glad you have resolved it.

    Please do not hesitate to ask any other questions.

    Best,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I need to position slide’s background image’ is closed to new replies.