Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #610782

    Hi

    Is it possible for me to get the shortcode of a Masonry element and then put it in the sidebar?

    Thanks!

    #610832

    Hey gameon238!

    Which element do you need?
    Portfolio gallery what type of mansory?

    Best regards,
    Basilis

    #611641

    The 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
    #612328

    Hi 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,
    Rikard

    #612429

    Hi 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)?

    #613422

    Hi,

    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,
    Rikard

    #613428

    Hi – Rikard, thanks. I’ve created a login for you.

    #613429

    Sorry – added some extra points in a new private message.

    #615497

    Any joy?

    • This reply was modified 8 years, 7 months ago by gameon238.
    #616896

    Hi!

    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!
    Yigit

    #617037

    Hi 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?

    #617040

    Hi!

    This will increase the thumbnail size of latest news widget. Going for this look – http://postimg.org/image/mc2dpntpz/ :)

    Cheers!
    Yigit

    #617043

    Hi 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

    #617048

    It’s as it the layout grid is not allowed in the container class and just come afterwards.

    #617051

    Weirdly 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.
    #617055

    I 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”> element

    This kind of works. However, I’d really prefer to not have to do this …

    #617095

    After 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.

    #619494

    Hi!

    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,
    Ismael

    #621829

    Hi 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

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘Masonry in the sidebar’ is closed to new replies.