Customized portfolio

Home Forums Jevelin Theme Customized portfolio

Home Forums Jevelin Theme Customized portfolio

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    RESOLVED Posts
  • fpreto
    Participant

    Hi, I’m using the child theme to customize the portfolio pages. I’m now stuck around the main content area as I want it to have the same editing features as
    the regular pages (such as full width section background, etc.).
    Will you please give me a clue which file should I edit to be able to
    work this around?  Thanks a lot in advance

    Hi @fpreto,

     

    I hope you are well today and thank you for your question.

     

    I am not sure what you are referring here and what you are trying to achieve in portfolio pages so could you please tell me a bit more in detail so that i can help you?

     

    Best regards,
    Shufflehound team

    fpreto
    Participant

    Hi, I’m simply trying to have as much freedom to layout content in portfolio pages the same way normal pages have. I know portfolio pages doesn’t rely on Visual Page Builder to compose content but being able to work with full-width backgrounds would be an important feature so to customize portfolio pages.

     

    I’m using portfolio pages to showcase products with variable descriptions, and not so much the default fields which are standard in the theme.

     

    Many thanks

     

    If you share me your portfolio page URL and screenshot of how you want to display full-width background on it then i can help you yo achieve it.

     

    Also do you want one background on all portfolio pages or different backgrounds?

     

     

    fpreto
    Participant

    Hi, just to let you know that already have find out the solution by changing the attributes order in the last lines of the — header.php – file:

     

    <?php
    /* Inlcude breadcrumbs HTML, if not bottom titlebar style */
    if( $titlebar_style_val2 != ‘bottom_titlebar’ ) :
    get_template_part(‘inc/templates/titlebar’ );
    endif;

    $class = ”;
    if( jevelin_post_option( jevelin_page_id(), ‘page_layout’, ‘full’ ) != ‘default’ ) {
    $class = ‘ sh-page-layout-full’;
    } else if( jevelin_post_option( jevelin_page_id(), ‘page_layout’, ‘full’ ) == ‘default’ ) {
    $class = ‘ sh-page-layout-default’;
    }

    ?>
    <div id=”wrapper”>
    <div class=”content-container<?php echo esc_attr( $class ); ?>””>
    <?php if( jevelin_post_option( jevelin_page_id(), ‘page_layout’, ‘full’ ) != ‘default’ ) : ?>
    <div id=’content’ class=’page-content’>
    <?php endif; ?>
    <?php
    /* Inlcude white borders option HTML */
    get_template_part(‘inc/templates/white_borders’ );
    ?>

     

    Also changing the class attributes in these two lines did the trick:

     

    <?php if( jevelin_post_option( jevelin_page_id(), ‘page_layout’, ‘full’ ) != ‘default’ ) : ?>
    <div id=’content’ class=’page-content’>

     

    Many thanks all the same!

    Awesome great to see you got that achieved.

     

    You are always welcome here 🙂

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