Viewing 30 posts - 1 through 30 (of 42 total)
  • Author
    Posts
  • #1254365

    Hi,
    How can I edit the default grid generated by the “portfolio categories” in new pages?

    I will explaind: I have created a portfolio page (mansonry portfolio gallery) linking to several portfolio items. In the portfolio items I added several categories.
    Then In the menu structure I added some pages directly from those portfolio categories. Those pages appear with a default grid within the main content, but I would like to edit them to stretch fullwidth and also become a mansonry grid. I can’t find where I can edit these automated generted layout. Hou can I do it?

    Thanks,
    Joana

    #1254887

    Hey Joagin,

    Could you please attach some screenshots of the issue?

    Could you please attach a mockup of what you’re trying to achieve?

    Best regards,
    Victoria

    #1258013

    Hi Victoria!

    Sorry for taking so much time, but I missed a notification of your reply!
    So here I attach a link of the mockup.
    Can you check it?

    Thanks,
    Joana

    #1258015
    #1258438

    Hi Joagin,

    Can you please make it public? We cannot see it.

    Best regards,
    Victoria

    #1258830
    #1259323

    Hi Joagin,

    Thank you.

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #1259834

    Hi Victoria,
    I’m still working the website on localhost. Can’t you help me based on the mockup?

    Kind regards,
    Joana

    #1260877

    Hi,

    Thank you for the update.

    The portfolio category pages are generated using the taxonomy-portfolio_entries.php file. The grid is not full width because it is inside a container which also follows the maximum width set in the theme options.

    Best regards,
    Ismael

    #1261247

    Hi Ismael, thanks for your reply.
    Does it means I can’t edit at all that automated generated page? Or is there a way to change the code to meet my needs? And if so, can you tell me how to do it?

    Thanks in advance,
    Joana

    #1261816

    Hi,

    We have to edit the taxonomy-portfolio_entries.php, and remove some containers or divs so that the portfolio grid is not constricted or limited to a certain width. Please try to edit the said file and replace everything with this code.

    // https://pastebin.com/1rTbwbbb

    We might be able to use a few css modification as well to remove the width limitation on portfolio category pages, but let us try the template changes first.

    Thank you for your patience.

    Best regards,
    Ismael

    #1261823

    Thanks Ismael for your reply.

    I’m just a normal computer user so can you be a bit more specific and walk me through what I need to do in order to check if it works? (and to be sure I don’t damage the web template while doing it)?

    Kind regards,
    Joana

    #1262265

    Hi,

    Sorry for the confusion. If you could post the WP and FTP details in the private field, we will be happy to do the necessary modifications to the template files. Please post the info in the private field.

    Best regards,
    Ismael

    #1262337
    This reply has been marked as private.
    #1262452
    This reply has been marked as private.
    #1262900

    Hi,

    Thank you for the update.

    We tried to access the dashboard using the account above but the username or account does not exist. Did you remove the account? Please check the info carefully and post it again in the private field. Also, make sure that the Appearance > Editor panel is accessible.

    // https://wordpress.org/support/article/hardening-wordpress/#disable-file-editing

    Set the DISALLOW_FILE_EDIT to false. If you are not sure how to do this, please post the FTP details in the private field so that we could access the file server. You could ask your hosting provider on how to obtain or create an FTP account if you have not created one yet.

    Best regards,
    Ismael

    #1262974

    Hi,
    I just checked the FTP details and they seem right.
    Can you please try again?
    Or you meant my wordpress login details?

    #1263845

    Hi,

    I am very sorry for the delay. We created a copy of the taxononomy-portfolio_entries.php file in the child theme and modified it a bit so that the portfolio grid becomes full width. We just removed the main containers. Let us know if that is the layout that you are after.

    Best regards,
    Ismael

    #1263946

    Hi Ismael,
    This was not exactly what I was after, no…
    My goal was to achieve the same layout in the portfolio_entries layout pages (under projects menu I have 5 portfolio categories pages) than in the main menu tab ” projectos” (which is a mansonry portfolio gallery).
    To sum up I was trying that the pages “habitação”, “comércio e serviços”, “equipamentos”, design de exteriores”, “estudos de edificabilidade e construção” had the same layout as the menu page “projectos”.

    Please let me know if it’s doable. I think this is a feature that Enfold really misses. One should be able to choose how to present the categories pages, don’t you think?

    Kind regards

    #1264484

    Hi!

    Did you activate the child theme? We already created a copy of the template in the child theme directory but the changes are not reflecting in the front end. Please upgrade the theme to version 4.7.6.4, then post the WP login details again in the private field so that we could check the dashboard properly.

    Thank you for your patience.

    Regards,
    Ismael

    #1264494
    This reply has been marked as private.
    #1264942

    Hi,

    Thank you for the update.

    1.) Yes, the child theme should be activated, else the modification or the template changes for the portfolio archive page that we just did will not work. Please note that after activating the child theme, you have to import the parent theme options to keep the current layout and configuration of the site. For more info, please check the documentation below regarding child theme installation or activation.

    // https://kriesi.at/documentation/enfold/child-theme/

    Just to be safe, please create a site backup or a restore point before activating the child theme so that we could revert back to a previous version in case anything goes wrong.

    2.) It is up to the developer or the site owner to update the child theme version if they want, but it is not necessary.

    Best regards,
    Ismael

    #1267915

    Hi,
    I finnaly activated the child theme and updated the enfold theme.

    The child theme has some errors. It created some extra horizontal lines on the menu tabs “projectos” and “contactos”. In private field I attach a link to a document in google drive so you can see what I mean as well as the WP login details so you can check the dashboard properly.

    Also I must reinforce, my goal was to achieve a mansonry portfolio gallery not a full width portfolio grid in the portfolio entries.
    kind regads,
    Joana

    #1268968

    Hi,

    Sorry for the delay. We modified the taxonomy-portfolio_entries.php file a bit so that it displays the masonry element instead of default post grid.

     $atts = array(
                                'type'			=> 'grid',
                                'items'			=> get_option('posts_per_page'),
                                'columns'		=> 3,
                                'class'			=> 'avia-builder-el-no-sibling',
                                'paginate'		=> 'yes',
                                'use_main_query_pagination' => 'yes',
                                'custom_query'	=> array( 
                                                        'post__in'	=> $post_ids, 
                                                        'post_type'	=> get_post_types() 
                                                    )
                            );
    
                            $blog = new avia_masonry($atts);
                            $blog->extract_terms();
                            $blog->query_entries();
                            echo $blog->html();
    

    We also added this snippet or filter in the functions.php file to adjust the portfolio archive query.

    
    function my_avia_masonry_query_func( $query, $params ) {
        if(!is_archive()) return $query;
    
        global $wp_query;
        return $wp_query->query;
    }
    add_filter( 'avia_masonry_entries_query', 'my_avia_masonry_query_func', 10, 2);

    `

    See private field.

    Best regards,
    Ismael

    #1268990

    Hi Ismael,

    The end result is exactly the same.
    Have you checked my last reply?
    With these modifications there is an extra horizontal line in 2 of my 4 navigation tabs.
    Also, there is NO mansonry grid.in the categories which was my goal almost 2 months ago.

    If it’s no doable, I prefer just to go back to orginal grid. At least there were no erros and it looked clean.
    Please let me know ASAP.
    Thanks,
    Joana

    #1269228

    Hi,

    The end result is exactly the same.

    The archive page is now using the masonry element as you can see in the screenshot below.

    Screenshot: https://imgur.com/a/OD61OAq

    To remove the extra line above the element, use this css code.

    .archive .category-term-description {
    	display: none !important;
    }

    If you want to revert back to the default layout, just rename or remove the taxonomy-portfolio_entries.php file in the child theme.

    Best regards,
    Ismael

    #1270156

    Hi Ismael,

    First of all, I haven´t received any email notification of your reply, so I’m just reading your reply today!

    I don’t know how to put it anymore: The site looks BAD! You sent me a printscren that shows exactly why it is Wrong! I already send you several print screens showcasing what I want and what I didnt want. And I simply hate the way it looks now!

    So , please, please, please, you already have all my credentials. Could you PLEASE:
    1) reverse the layout so the extra horizontal line – it is a layout error!- desapear?! (and I’ve tried your suggestion and I couldn’t put it to work myself);
    2) reverse the layout so it turns back into a normal grid inside the container? (simply go back to the original enfold theme code!).

    Many thanks if you can solve it.
    Regards, nad please notify me via email!

    Joana

    #1270631

    Hi,

    Your original request is to display the Masonry element in the archive page, which is what we did by editing the taxonomy-portfolio_entries.php file. Anyway, we tried to login to the file server today via FTP, but the connection fails.

    To revert the layout back to default, just go to the child theme directory and remove the taxonomy-portfolio_entries.php file. Make sure to purge the cache and remove the browser history before checking the archive page again, or do a hard refresh.

    Best regards,
    Ismael

    #1270858

    Hi again,
    yesterday the server was facing some issues and that is why you couldn’t acess via FTP. Today it is back to normal.

    1) so, I deleted myself the taxonomy-portfolio_entries.php file and the original grid is back to normal, but
    2) I’m unable to delete that extra horizontal lines below my header on 3rd and 4th tab. I posted the css code you provided on quick css on general styling of the enfold child theme, but those error lines are still there. Can you fix it?

    Regards,
    Joana
    Please notify me via email

    #1271456

    Hi,

    Thank you for the update.

    You could hide the main container’s top border with this css code.

    #top #main {
    	padding-top: 88px !important;
    }

    Or use this one to actually remove the border.

    #top #main > .container_wrap {
    	border-top: 0;
    }

    Best regards,
    Ismael

Viewing 30 posts - 1 through 30 (of 42 total)
  • You must be logged in to reply to this topic.