-
AuthorPosts
-
April 10, 2016 at 2:01 pm #610782
Hi
Is it possible for me to get the shortcode of a Masonry element and then put it in the sidebar?
Thanks!
April 10, 2016 at 9:00 pm #610832Hey gameon238!
Which element do you need?
Portfolio gallery what type of mansory?Best regards,
BasilisApril 12, 2016 at 5:50 am #611641The masonry of the list of posts. I know it would be squished into one column, but – I still think it looks cool. NB – this is for putting into the sidebar.
This is what it currently looks like: http://postimg.org/image/62c7mrj1z/
This is what I’m trying to get: http://postimg.org/image/mc2dpntpz/
Also, In the main column where the workpress post / article content is, for some reason, if I try to put the post into a grid it goes full width as well as pushing the slide bar down:
This is what a normal post with side bar looks like: http://postimg.org/image/sk71cvyx5/
As soon as I put the post in a grid (so I can add loads of cool stuff) it breaks out like this:
http://postimg.org/image/wxcvo89zr/ . The part at the top is in the grid, above another text part that is not in the grid. The part not in the grid, gets the side bar, the part in the grid goes full width and always stays above the sidebar (even if I use some css to try and sort out the width).It’s like the grid part is umping out of the content holder, whereas I need it to stay with the post, with the sidebar to the right.
Thank you so much for your help!
Matt- This reply was modified 8 years, 7 months ago by gameon238. Reason: replacing image
April 13, 2016 at 3:40 am #612328Hi Matt,
If you enable debug mode you will be able to see all shortcodes below the builder window: http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
Best regards,
RikardApril 13, 2016 at 6:17 am #612429Hi Rikard
I tried this and failed.
This is how the usual post is (keeping the right hand column working.
[av_textblock size='' font_color='' color=''] The intro [/av_textblock]
Looking at a grid element with two text boxes within it, it looks like this:
[av_layout_row border='' min_height='0' color='main_color' mobile='av-flex-cells' id=''] [av_cell_one_half vertical_align='top' padding='30px' padding_sync='true' background_color='' src='' attachment='' attachment_size='' background_attachment='scroll' background_position='top left' background_repeat='no-repeat' custom_class=''] [av_textblock size='' font_color='' color=''] In the left cell. [/av_textblock] [/av_cell_one_half] [av_cell_one_half] [av_textblock size='' font_color='' color=''] In the right cell [/av_textblock] [/av_cell_one_half] [/av_layout_row]
So, to put one in the other, I do this?
[av_textblock size='' font_color='' color=''] The intro <br><br> [av_layout_row border='' min_height='0' color='main_color' mobile='av-flex-cells' id=''] [av_cell_one_half vertical_align='top' padding='30px' padding_sync='true' background_color='' src='' attachment='' attachment_size='' background_attachment='scroll' background_position='top left' background_repeat='no-repeat' custom_class=''] [av_textblock size='' font_color='' color=''] In the left cell. [/av_textblock] [/av_cell_one_half] [av_cell_one_half] [av_textblock size='' font_color='' color=''] In the right cell [/av_textblock] [/av_cell_one_half] [/av_layout_row] [/av_textblock]
Needless to say, it doesn’t work for me. The part that is in the grid jumps out and the right hand column area disappears.
It’s a shame it won’t stay in the parent. Am I doing something wrong (I’m sure I am)?
April 14, 2016 at 4:42 am #613422Hi,
Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.
Best regards,
RikardApril 14, 2016 at 4:57 am #613428Hi – Rikard, thanks. I’ve created a login for you.
April 14, 2016 at 4:59 am #613429Sorry – added some extra points in a new private message.
April 16, 2016 at 4:43 pm #615497Any joy?
- This reply was modified 8 years, 7 months ago by gameon238.
April 18, 2016 at 11:18 pm #616896Hi!
Please add following code to Functions.php file of your child theme
add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 ); function enfold_customization_modify_thumb_size( $size ) { $size['widget'] = array('width'=>250, 'height'=>250); return $size; }
Then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
Then add following code to Quick CSS in Enfold theme options under General Styling tab
.news-thumb img,.news-thumb { height: 100%; width: 100%; } .news-headline { display: none; }
This should get you there or at least pretty close. If not, please let us know and we will take another look but please keep the changes.
Cheers!
YigitApril 19, 2016 at 3:09 am #617037Hi Yigit – is this with regards to the right hand column disappearing or being pushed way down when I add a grid element within a post?
April 19, 2016 at 3:12 am #617040Hi!
This will increase the thumbnail size of latest news widget. Going for this look – http://postimg.org/image/mc2dpntpz/ :)
Cheers!
YigitApril 19, 2016 at 3:20 am #617043Hi Yigit
Thanks for the update (ref the masonry).
Our biggest (critical and can’t go live) issue us that we can’t include a grid element in a post without it breaking the page (by going full width and pushing the right hand column down or off the page).
I’ve included the login details in a private post.
Cheers!
Matt
April 19, 2016 at 3:35 am #617048It’s as it the layout grid is not allowed in the container class and just come afterwards.
April 19, 2016 at 3:42 am #617051Weirdly it seems that if a grid row is added to the post (anywhere). The grid row comes after the container class (so doesn’t sit with the post content) and the sidebar doesn’t get included anywhere? Is this normal?
I would have thought that the post content would go in id”after_section_1″ and within the div class “container”.
I’m a bit lost here. Thanks for your help!
- This reply was modified 8 years, 7 months ago by gameon238.
April 19, 2016 at 4:08 am #617055I suppose I could:
– remove the rest of the content and add a grid [3/4 and 1/4]
– put my content with fancy elements in the 3/4 part
– re-create what the sidebar would usually be in the 1/4 and save it as a template
– use jquery to move the div as a child of the <div class=”content”> elementThis kind of works. However, I’d really prefer to not have to do this …
April 19, 2016 at 6:04 am #617095After even more testing – it seems that the only time the issue ever really presents is if a grid element is used. I guess I’ll just avoid that.
April 22, 2016 at 5:28 am #619494Hi!
Full width elements such as the color section and grid row element will push the sidebar underneath. The only workaround is to disable the sidebar and use the widget area element as a replacement. Or avoid using full width elements inside the page.
Best regards,
IsmaelApril 26, 2016 at 3:34 am #621829Hi Ismael
Thanks for the confirmation.
It’s a real pity that elements can’t be set to the width of their container ‘or’ full width.
Best,
Matt
-
AuthorPosts
- The topic ‘Masonry in the sidebar’ is closed to new replies.