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

    I am using the color section for the page header on pages and the page header and section header on posts. I’m using the ALB settings to control the margin for color section when used as page header on pages, and am using this CSS below to control the margin for color sections when used as page headers on posts:

    .post-template-default.single.single-post .avia-section .template-page {
    margin-top: 30px;
    margin-bottom: 15px;
    }

    In order to control the second instance of color sections when used as section header on posts, I added “comment-header” to the Custom CSS field on the color selection. I then used the below CSS to try to adjust the margin…

    #comment-header.post-template-default.single.single-post .avia-section .template-page {
    margin-top: 10px;
    }

    but it is not working and I’ve tried a number of permutations based on other threads on this forum but am clearly missing something fundamental here… can anyone advise please?

    Thank you!

    #728156

    Hey newpappa,

    Please try using following code instead

    .comment-header .content {
        margin-top: 10px!important;
    }

    If that does not work, Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Yigit

    #728743

    Thanks, Yigit! This worked beautifully!

    #728748

    Hi!

    You are welcome! :)

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to target separate color sections on all posts’ is closed to new replies.