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

    I’ve got a Twitter feed in a code block on the main homepage and would like to know how to centre it within the page?

    Thank you.

    #616661

    Hey benstripp!

    I have enabled custom CSS field for ALB elements – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and edit your code block and gave it a custom CSS class “twitter-code-block” and then changed column to 1/1 and added following code to Quick CSS in Enfold theme options under General Styling tab

    .twitter-code-block {
        text-align: center;
    }

    Please flush browser cache and review your website

    Best regards,
    Yigit

    #616812

    Excellent. Thank you very much. Problem solved, and really quickly, as per usual! :)

    #616820

    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 :)

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to centre a code block?’ is closed to new replies.