Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #893929

    Is there anyway to link EACH grid? I can link the image but then nothing else is a link, which makes it hard to actually click it.

    View post on imgur.com

    • This topic was modified 6 years, 11 months ago by spirani91.
    #893951

    Hey Sal,
    Use a Full Width Button element and add this to Quick CSS to hide the button background so the grid cell background is visible though the button:

    .flex_cell_inner .avia-button.avia-button-fullwidth {
        background: transparent !important;
    }
    .avia-button-wrap.avia-button-center a{
    height: 400px;
    }

    Adjust the height to match your element.

    To be sure not to have a conflict with other buttons, you may wish to enable the builder custom classes.
    To do this try adding this code to the end of your functions.php file in Appearance > Editor:

    add_theme_support('avia_template_builder_custom_css');

    this will allow you to add a custom class to your buttons.
    2018-01-04_211420
    then add this class to your css, for example the screenshot shows “bigbutton” as the class:

    .flex_cell_inner .bigbutton .avia-button.avia-button-fullwidth {
        background: transparent !important;
    }
    .avia-button-wrap.avia-button-center.bigbutton a{
    height: 400px;
    }

    Best regards,
    Mike

    #894211

    Hey Mike,

    When I add that code, it makes my grid very long, even after adjusting the height. It doesn’t seem to just sit in the background behind the content.

    #894230

    Hi,
    We could fix that with:

    .avia-button-wrap.avia-button-center {
    max-height: 100px !important; 
    }

    But it will not have the link cover the whole grid because of your image and text elements push it down, I had thought the image was added to the background of your grid and not a element.
    Please try to make a image of each icon with the text below it, so the text is apart of the image, then add this image as the background of the grid and your button with be on top, covering the whole grid.
    Or make a image of each icon with the text below it, so the text is apart of the image, then add this image to the image element you have with the link. Then add this css to make the image link cover the whole grid, no need to use a button.

    #services .flex_cell_inner a.avia_image {
    height: 400px !important; 
    }
    

    Best regards,
    Mike

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