New Landing How can we help? Themeforest Theme Support Dante Move portfolio category description to bottom of page + customization

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #315972
    morruu
    Member
    Post count: 106

    Hi again,

    I need to move the portfolio category description to just above the footer e.g. this page https://www.kamillaruus.dk/portfolio-category/akrylmalerier/.

    Is it the taxonomy-category-portfolio.php file I need to edit and move this section:

    <div class="page-content clearfix">
    				
    				<?php if ($category_description != "") { ?>
    					<div class="port-category-description">
    						<?php echo do_shortcode($category_description); ?>
    					</div>

    The second thing I need to do with the portfolio category description is:

    – Put the description in a full width row with a lightgrey backgound.
    – The full width row should have no space to the footer.

    How can I achieve this result?

    Hope you awesome guys can help me.

    Best regards
    Morten

    Attachments:
    You must be logged in to view attached files.
    #316150
    David Martin – Support
    Moderator
    Post count: 20834

    Simply move the above code snippet to below the closing page div.

    		<!-- CLOSE page -->
    		</div>

    Then adjust the .port-category-description CSS to make it match your needs.

    #316336
    morruu
    Member
    Post count: 106

    Thanks, David.

    I haven’t made the changes yet, but it sounds easy.

    Best regards
    Morten

    #316357
    David Martin – Support
    Moderator
    Post count: 20834

    Glad to help.

    #317596
    morruu
    Member
    Post count: 106

    I can’t achieve the result I want in the template taxonomy-portfolio-category.php.

    I want to have a full width row with background color just before the footer with a custom description field.

    I have attached two screenshots.

    My solution was to copy a full width row with background color from one of my other pages and then just paste in the template. But it’s not working.

    I’m using a child theme. Can you point me in the right direction for a solution?

    Best regards
    Morten

    Attachments:
    You must be logged in to view attached files.
    #317719
    David Martin – Support
    Moderator
    Post count: 20834

    You need to break out of the container to go full width. So place the code below the closing div rather then above.

    		<!-- CLOSE page -->
    		</div>
    #318486
    morruu
    Member
    Post count: 106

    Thanks I solved my problem in another way.

    I created a portfolio page and redirect my portfolio archive page to that page.

    Best regards
    Morten

    #318554
    David Martin – Support
    Moderator
    Post count: 20834

    Marking as resolved.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register