Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #843386

    Hi all,

    I just added a header widget (I have logo left / menu below).

    Inside the header widget, I have this:

    <h3 class="header-txt">Lorem ipsum dolor sit amet</h3>
    <img src="my-image" />

    I would like this content to be right-aligned.
    But right-aligned inside the 1310 px, not right-aligned with the screen.

    The text should be right-aligned and the image below should be left-aligned with the text.

    Could you help me please ?
    Thanks in advance.
    Nico

    • This topic was modified 7 years, 2 months ago by studioginkgo.
    #843538

    Replaced

    add_action( 'ava_main_header', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
    	dynamic_sidebar( 'header' );
    }

    by

    add_action( 'ava_before_bottom_main_menu', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
    	dynamic_sidebar( 'header' );
    }

    then added in custom css

    #header_main .inner-container .widget {
        position: absolute;
        right: 0;
        padding: 0;
    }

    And it works :)

    Hope it will help someone.

    • This reply was modified 7 years, 2 months ago by studioginkgo.
    #844007

    Hi,

    Glad you figured it out and thanks for sharing your solution! :)

    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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Header widget / alignment problem’ is closed to new replies.