Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #250118

    Enfold – 2014 March 11th – Version 2.6.1
    Wordpress – version 3.8.2
    Hello;
    For whatever reason, I just can’t get a Color Section Layout Element to display full width. I’ve researched your forum and added a “custom ID Attribute” with css “#my-attribute .container { width: 100% }”. I can see that the css is being applied but I’m not getting a full-width element. I’d be happy to forward a link and login.

    Cheers…

    BitSoul

    #250125

    Hey bitsoul!

    Yes, we would need to see the content live. If you are using a boxed layout keep in mind that the element will not escape the bounds of that box.

    Best regards,
    Devin

    #250267
    This reply has been marked as private.
    #251006

    Hi!

    Can you point out the color section as well? I saw that you have custom ID for one color section on your page, and for that, following code should work

    #testimonial-color-section-hold .container {
    width: 100%;
    }

    You can add the code to Custom.css file inside Enfold/Css if you do not want to have it in Quick CSS section

    Cheers!
    Yigit

    #251201

    Hey…

    Check the page …/home-test/.

    You’ll see a block of content titled “What Our Customers Say”.

    This block of content is inside a “Color Section”.

    Notice that the “Color Section” does not extend full page width.

    Adding – #testimonial-color-section-hold .container { width: 100%; } will expand the CONTENT to full page width – not the “Color Section”.

    The thing is this…

    In my experience UNLESS – I have some Avia layout element (say a slider) that extends the full width of the page – as the VERY FIRST element on the page – “Color Sections” will not render as expected.

    I’m able to get-around this behavior (if I don’t want a slider) by adding a “Color Section” as the very first element with a css hack – .avia-section.css-hack { max-height: 1px; min-height: 1px; }

    Later…

    BitSoul

    #252426

    Hey!

    In my experience UNLESS – I have some Avia layout element (say a slider) that extends the full width of the page – as the VERY FIRST element on the page – “Color Sections” will not render as expected.

    I tried reproducing the issue on my install according to what you said:

    But the result was this (both the slider and the color section extend the full width):

    One thing i noted is that you have Enfold 2.6.1 on your site, please try updating it to the latest version.

    Cheers!
    Josue

    #252445
    This reply has been marked as private.
    #252448

    Hi,

    Can you create an administrator account and post it here as a private reply?

    Regards,
    Josue

    #252453
    This reply has been marked as private.
    #252465

    Hi!

    I found that there is some custom code in your child theme that is affecting the layout builder, i was checking your functions.php but accidentally wrote a typo and now it won’t be accesible until it’s fixed, could you restore it via FTP?

    Child theme functions.php, line 30.

    Regarding your main issue, i tried switching to the Enfold parent theme and the color sections worked as expected but when i switched back to the child one the bug returned.

    Cheers,
    Josue

    #252473

    Josue,

    Who knew..?
    Commented-out the offending block of code and the “Color Section” now renders as expected.
    Hate the empty <p></p> tags..!
    I’ll need to review this whole issue.

    Say, do you have a suggestions for removing the empty <p></p> tags which are generated from time-to-time?

    Thanks,

    BitSoul

    #252480

    Hi!

    You could try with a client-side solution (this way it won’t affect the builder script).

    Use this to include a custom JS script in your child theme:

    wp_enqueue_script( 'myscript', get_bloginfo('template_directory') . '/js/scripts.js', array( 'jquery' ), '', true );
    

    Create that script (in your child theme folder) and finally use this to remove all the empty p tags:

    jQuery(window).load(function() {
      jQuery('p:empty').remove();
    });
    

    Cheers!
    Josue

    #365442
    This reply has been marked as private.
    #365608

    Hey!


    @elgustinjo
    , Try using a grid row element and delete the second cell so there is just a 1/1 inside. Your content inside the cell will expand full width and you can set a background to the cell as well.

    Cheers!
    Elliott

    #365641

    Thanks for the quick response, Super!

    What I tried to achieve was a “full width button”, but I didn’t realize that there was a separate object for that feature, so I had used the shortcode for that within a text-object, and that was what caused my problem. Everything solved now!

    And I really love your theme, and if you are not aware of a great WP-plugin that seems to work flawless with your them I really would like to recommend you this one:

    https://wordpress.org/plugins/device-mockups/

    Maybe you could get that under your list of “supported / reccomended plugins”?

    Regards
    -Gustaf

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Color Section Not Full-Width Enfold’ is closed to new replies.