Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #205439

    I’d like to reduce the margin and the padding for the notification boxes. I tried the following:

    .avia_message_box {
    margin: 10px 0;
    padding: 10px;
    }

    which works very well to reduce the margin for all notification boxes, however fails to reduce the padding from 17 to 10 as well (is “overwritten” by a padding from shortcodes.css / line 597)

    How can I reduce the padding for the notification boxes? In case I’d like to reduce the padding for a single notification box on a specific page, how would I reference to that box?

    Thanks,
    Rob

    P.S. Just ‘started’ with Enfold – seems to be a great theme, the kind of theme I was always looking for…

    #205449

    Try using the !important tag on each line, i.e.

    .avia_message_box {
    margin: 10px 0 !important;
    padding: 10px !important;
    }

    That will prevent any later selectors overwriting it.

    #205456

    Thanks for the quick reply, Richard! Very much appreciated!

    #205458

    Hey!


    @richardolpin
    thanks :)

    Regards,
    Yigit

    #205469

    You’re welcome. Always happy to help if I spot a simple one whilst browsing :-)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Notification Box – Padding’ is closed to new replies.