New Landing How can we help? Cardinal Applying a css in a specific page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Cardinal
  • #213983
    izemach
    Member
    Post count: 47

    Hello,

    I would like to set a css for a page-builder element that will not influence its appearance in the site but only in one of the pages.
    To be more specific:
    I am using animated icon-box in few places in my website. However, there is one page in which I would like to apply a rounded corners for it (border-radius). I tried to use id or extra-class, but it did not work or worked all over the site.

    Can that be done?

    Thank you

    #213991
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Yes, each page has a unique page class, you will find this in the body tag. Once you have the page class, put it at the start of the css rule

    – Kyle

    #214001
    izemach
    Member
    Post count: 47

    Thank you. I have tried to implement it before I wrote the question – I am probably using it wrong. Do you mean that it should be written for the page and not for the element?
    One more question, in you permission:
    If I implement a border-radius for the icon-box, how can I keep its aspect ratio? it is distorted in narrow screens.

    Great theme, I love working on it!

    #214005
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    It should be written for both the page and the element. Can you provide us the url of the page where you want to change it specifically?

    -Rui

    #214015
    izemach
    Member
    Post count: 47

    I have handled it with the extra class, it seems I needed to include the .front and .back for the icon-box.
    Here is the link (you can see the circle on the left… it is distorted when the screen is narrow.
    http://www.beeclients.com/GlilotVC/portfolio/

    Thanks

    #214019
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    That’s just because the height is bigger than the width, not much you can do about that because if you reduced the height the content on the back would overflow

    – Kyle

    #214056
    izemach
    Member
    Post count: 47

    Great, thanks!

    #214059
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem. Thanks Kyle
    -Rui

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register