Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #930697

    Hi
    I was wondering how I can remove the radius on the full width button and images within the colour section half way down this page?
    I have the custom css for ALB turned on but can’t seem to get some css that works.I don’t want to change the styles sitewide.
    Thanks
    Su

    #930716

    Hey Sujohn,

    Please add the following to quick css:

    .avia-button, .avia_image{
    border-radius:0!important;
    }

    Best regards,
    Jordan Shannon

    #930782

    Hi Jordan

    If I don’t want to change images and buttons site wide if I put the css name
    su-radius
    in the custom css box for the element

    Would the code for the quick css then look like

    .su-radius {
    border-radius: 0 !important;
    }

    Thanks
    Su

    • This reply was modified 6 years, 3 months ago by Sujohn.
    #930794

    Hi,

    Do you just want to target this specific page?

    Best regards,
    Jordan Shannon

    #930802

    Hi
    Yes for the moment but I could do with getting the hang of how to use the custom css too.
    Thanks
    Su

    #930808

    Hi,

    Try this instead:

    .page-id-5256 .avia-button, .page-id-5256 .avia_image{
    border-radius:0!important;
    }

    Best regards,
    Jordan Shannon

    #930844

    That worked. Thanks.
    I could really do with using this styling on an individual row on another page.
    Is there any way to do that?

    #930852

    Hi,

    You would just need to get the ID of that page and put it in place of the id that I placed above.

    Best regards,
    Jordan Shannon

    #930860

    That seems good if I want to change the styling for the whole page but is there a way to do it if I just want to change a row so that I can get the same styling as my test page?

    #930881

    Hi,

    Please provide a link to the page.

    Best regards,
    Jordan Shannon

    #930924

    Hi
    Attached as private content. I now have the right selector for removing the radius on the images which is
    .your-custom-class img
    but can’t seem to get a working one for the button radius.
    Thanks
    Su

    #930929

    Hi,

    Did you add that class to the row you want to effect? I’m not seeing that class when I inspect the page above.

    Best regards,
    Jordan Shannon

    #930933

    Hi

    Don’t worry I eventually found the info elsewhere on the forum. I seem to have got this working for images with
    .your-custom-class img
    and for buttons with
    .your-custom-class .avia-button-fullwidth

    For the record the full code that seems to be working is
    .your-custom-class .avia-button-fullwidth, .your-custom-class img{
    border-radius: 0 !important;
    }
    Thanks
    Su

    #930936

    Hi,

    Great! I’m glad you got this corrected. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

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