-
AuthorPosts
-
April 11, 2014 at 7:05 am #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
April 11, 2014 at 8:18 am #250125Hey 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,
DevinApril 11, 2014 at 4:08 pm #250267This reply has been marked as private.April 14, 2014 at 12:30 pm #251006Hi!
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!
YigitApril 14, 2014 at 5:02 pm #251201Hey…
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
April 17, 2014 at 4:48 am #252426Hey!
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!
JosueApril 17, 2014 at 5:44 am #252445This reply has been marked as private.April 17, 2014 at 5:56 am #252448Hi,
Can you create an administrator account and post it here as a private reply?
Regards,
JosueApril 17, 2014 at 6:28 am #252453This reply has been marked as private.April 17, 2014 at 6:58 am #252465Hi!
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,
JosueApril 17, 2014 at 7:14 am #252473Josue,
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
April 17, 2014 at 7:35 am #252480Hi!
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!
JosueDecember 9, 2014 at 6:16 pm #365442This reply has been marked as private.December 9, 2014 at 9:03 pm #365608Hey!
@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!
ElliottDecember 9, 2014 at 9:53 pm #365641Thanks 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 -
AuthorPosts
- The topic ‘Color Section Not Full-Width Enfold’ is closed to new replies.