Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1438719

    Hi,
    I’m using the full-screen (desktop) and the full-with slider (mobile). How can I adjust the position and size of the button?

    Best regards

    #1438793

    Hey northorie,
    Please link to your page so we can see the buttons in the sliders, and then explain how you want them moved, perhaps a screenshot would help.

    Best regards,
    Mike

    #1438851

    Sure. Link is on private content.
    You can see the button in the left corner. I want it bigger and right below the text in the middle.
    On mobile it is a bit too big and I need the button more to the right. It’s not in the center

    #1438859

    Hi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    @media only screen and (min-width: 768px) { 
    #top .caption_bottom .slideshow_caption .slideshow_inner_caption {
        position: relative;
        text-align: center;
    }
    #top .slideshow_inner_caption .avia-slideshow-button.avia-button {
        width: 300px;
        height: 100px;
        font-size: 24px;
    }
    .html_header_transparency #top #main .caption_bottom .slideshow_caption {
        padding-top: 0;
    }
    }
    @media only screen and (max-width: 767px) { 
    	#top .caption_bottom .slideshow_caption .slideshow_inner_caption {
        position: relative;
        text-align: center;
    }
    #top .slideshow_inner_caption .avia-slideshow-button.avia-button {
    	padding: 10px 6px;
    	font-size: 10px;
    }
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1438908

    It worked quite well on mobile. Can I get the button a bit higher though?

    No change on desktop view.

    #1438919

    Hi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    @media only screen and (max-width: 450px) { 
    .slideshow_inner_caption {
    	top: -30px;
    }
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1438927

    Thank you!
    It’s perfect on mobile now!
    Can we get it good on desktop view as well?
    On Desktop it is fullscreen slider

    #1438934

    Hi,
    When I check your page on desktop the css I posted above is not applied, and this is what makes the button larger and center, so I don’t know if you have an error in your css, or if you didn’t add it because you didn’t understand, but this is the desktop part of the css that you should ensure to use:

    @media only screen and (min-width: 768px) { 
    #top .caption_bottom .slideshow_caption .slideshow_inner_caption {
        position: relative;
        text-align: center;
    }
    #top .slideshow_inner_caption .avia-slideshow-button.avia-button {
        width: 300px;
        height: 100px;
        font-size: 24px;
    }
    .html_header_transparency #top #main .caption_bottom .slideshow_caption {
        padding-top: 0;
    }
    }

    this is the result:
    Enfold_Support_5246.jpeg
    I now assume that you now wanted the button to move up a little, so you would then add this css:

    @media only screen and (min-width: 768px) { 
    .slideshow_inner_caption {
    	top: -100px;
    }
    }

    for this result:
    Enfold_Support_5248.jpeg
    feel free to adjust to suit.

    Best regards,
    Mike

    #1440604

    Thanks a lot!
    How can I adjust the background color, the hover effect and the border radius of this button?

    Best regards

    #1440620

    Hi,
    Try this example CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field to make the background color red, font white, and remove the border radius:

    #top #wrap_all .slideshow_inner_caption .avia-slideshow-button.avia-button {
        background-color: red;
        color: white;
        border-radius: 0;
    }

    adjust to suit.
    To make the button background color blue on hover add this css:

    #top #wrap_all .slideshow_inner_caption .avia-slideshow-button.avia-button:hover {
        background-color: blue;
        color: white;
        border-radius: 0;
    }

    you can also change the font color and border radius on hover.

    Best regards,
    Mike

    #1440628

    Thank you! That’s great :)

    Is there a way tu structure my custom css field with headlines? I’m getting kinda lost *g

    #1440647

    Hi,

    You can open css comments using forward slash (/) and asterisk (*).

    Example:

    /* Add your Mobile Styles here */
    

    Please check the link below for more examples: https://www.w3schools.com/css/css_comments.asp

    Best regards,
    Ismael

    #1440820

    Thank you! Topic can be closed

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Button position on sliders’ is closed to new replies.