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

    I use this Custom CSS:

    .marginleft20 {
    margin-left: -20px;
    background-color: #000;
    }

    I add this to my custom CSS field under the Text-Block-Element in the Avia Layout Editor:
    marginleft20

    The CSS changes are not taking effect. I need help with this.

    #319744

    Hi royaltask!

    Can you post the link to your website and point out the element please?
    Also, please try adding !important rule as following

    .marginleft20 {
    margin-left: -20px !important;
    background-color: #000 !important;
    }

    Cheers!
    Yigit

    #319751

    Thanks, I added it to css/custom.css instead of the enfoldTheme Custom CSS-Field. Now it works fine.

    #319755

    Hi!

    Great! Let us know if you have any other questions or issues :)

    Cheers!
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Custom CSS for element’ is closed to new replies.