Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1031701

    Hi,
    I would like to put some distance between the av_button_big label and the paragraphs above and below.

    So I have added this code:
    top .avia-button-fullwidth {
    margin-top: 45px;
    margin-bottom: 30px;
    }

    However, the background colour of the button starts behaving crazy.

    Could you please give it a look?

    thanks,
    Marco

    #1031953

    Hi Marco,

    Thanks for the link, though I’m not sure I understand which element you are referring to. Please try to explain a bit further or post a screenshot highlighting your intentions.

    Best regards,
    Rikard

    #1032028

    Hi Rikard,
    Yes you are right, because it was not working, I removed the element from the page.

    Here it is again. Check it out in the link provided above ( element top .avia-button-fullwidth )
    It is the big large red button.

    When you hover the mouse over it, the background colour of the button behaves in a weird way (it started doing like that when yesterday I added some distance between the element and above/below paragraphs with the following code.

    top .avia-button-fullwidth {
    margin-top: 45px;
    margin-bottom: 30px;
    }

    Please, let me know if it clear.

    Thanks,
    Marco

    #1032164

    Hi,

    Thanks for that. Try adding it to the div container instead:

    .postid-458 .avia-button-wrap {
        margin-top: 45px;
        margin-bottom: 30px;
    }

    Best regards,
    Rikard

    #1032204

    Hi Rikard,
    Nope it did not work. Same weird behaviour.

    Also I believe that your code would refer to this post in particular while I would like to have this working on this type of button on all articles

    Thanks,
    Marco

    #1032212

    Solved,

    I used this code where I have corrected the top to -45 and

    #top .avia_button_background{
    opacity: 0; position: absolute; top:-45; left:0; bottom:0; right:0;
    -webkit-transition: all 0.4s ease-in-out; transition:all 0.4s ease-in-out;
    }

    /* Correzione background bottone larghezza intera che sfarfalla */
    #top .avia_button_background {
    top: -45px;
    }

    Thanks,
    Marco

    #1032474

    Hi,

    Great, glad you found a solution and thanks for sharing. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.