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

    I am not sure what is going on here
    see test page below , the code is working perfect when inserted using the default editor.
    https://xuberance.life/test/

    when inserting the same code into the avia layout builder the right column of text is pushed down slightly like there is top padding there
    which there is not
    https://xuberance.life/test-2/

    I am using the same 2 column code below on both pages and nothing else ..weird

    [av_one_half first]Add Content here[/av_one_half]

    [av_one_half]Add Content here[/av_one_half]

    I need to be able to use the 2 column code in the layout builder’s “Text Block” when designing my websites. So this must be a bug.
    I’m running the latest version of WP, and just the theme no other plugins other than Rev Slider.

    • This topic was modified 6 years, 1 month ago by webworm72.
    #1034827

    Hey webworm72,
    I have taken a look at your pages and for the second column that is down some, there is a line brake in the source code.

    <br>

    I tested this on my localhost and found that if a new line is created in the text block element then the BR tag is created.
    To solve this issue, simply ensure no line brake is added to the element.
    This is an example with the line break:

    [av_one_half first]<ul>
    <li>Meal planning</li>
    <li>Calorie and macronutrient recommendations</li>
    <li>Recipe selection and review</li>
    <li>Nutrition therapy (for diabetes, high cholesterol, etc.)</li>
    </ul>[/av_one_half]
    
    [av_one_half]<ul>
    <li>Restaurant and dining tips</li>
    <li>Kitchen clean-out and grocery shopping advice</li>
    <li>Information about diet myths, trends, and facts</li>
    <li>Accountability and encouragement</li>
    </ul>[/av_one_half]

    and this is without the line brake:

    [av_one_half first]<ul>
    <li>Meal planning</li>
    <li>Calorie and macronutrient recommendations</li>
    <li>Recipe selection and review</li>
    <li>Nutrition therapy (for diabetes, high cholesterol, etc.)</li>
    </ul>[/av_one_half][av_one_half]<ul>
    <li>Restaurant and dining tips</li>
    <li>Kitchen clean-out and grocery shopping advice</li>
    <li>Information about diet myths, trends, and facts</li>
    <li>Accountability and encouragement</li>
    </ul>[/av_one_half]

    Best regards,
    Mike

    #1034897

    Perfect Thanks Mike !!!

    #1034900

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Problem with 2 column code using avia layout builder versus default editor’ is closed to new replies.