Okay
  Public Ticket #2348858
Changing caption and full screen on mobile
Closed

Comments

  • marc started the conversation

    Hello,

    1- On the portfolio, how can i display the hero Title and hero subtitle of an item instead of its category name  and Title ? 

    2- I there a way to disable the "Scroll down" caption, and the scrolling  that occur after you click on a carousel or portfolio item, (just after the hero image display)?  I only need the hero image and caption to display, i don't need to scroll down at this point.

    I tried to leave the "Scroll Down Caption" field empty in the Portfolio item section, but it didn't work. For some reasons, when i navigate away and back to the page, the field is not empty anymore.

    3- Is it possible to have the theme going fullscreen when viewed a mobile?

    Thanks a lot,

    Marc

  •  1,823
    Support replied

    Hi Marc,

    1. plz open /sections/portfolio_section_item.php and replace this line

    <h4 class="item-cat"><?php echo wp_kses_post( $bauman_item_categories ); ?></h4>

    with

    <h4 class="item-cat"><?php echo wp_kses_post( bauman_get_post_meta( BAUMAN_THEME_OPTIONS, get_the_ID(), ''bauman-opt-portfolio-hero-caption-subtitle' ) ); ?></h4>


    2. I need wp admin access in a private comment for this to actually check what's going on with the scroll info label

    3. can you give us more details

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •   marc replied privately
  •  1,823
    Support replied

    Hello Marc,

    1. I fixed the problem with hero subtitle instead of the categories there was an error in the code I provided 

    2. thanks, I was able to login. What is the name of the portfolio item with this issue?

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • marc replied

    Hello support,

    1. Glad to read this. What is the code that i should use then?

    2. I think all of them have the issue. I just double checked "CAT WATCH" and "CAT DUNE", both have the issue. 

    Thanks

  •  1,823
    Support replied

    Hello Marc.

    1. I changed the code for you you don't have to do anything

    2. you just want to remove the automatic slight scroll down of the hero section after the page is loaded, can you confirm?

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • marc replied

    Hello support, thanks a lot for your msg.

    1- Good, the hero caption subtitles now displays instead of the category name. But how to do for the hero caption title? I want to display it instead of the portfolio item title. 

    2- When you click on a carousel or portfolio item, i just need the hero image to display in large with its captions. From there, i do not want to navigate to the next projet/item.  So, yes, my thinking is to remove the automatic slight scroll down and the "scroll down caption".

  •  1,823
    Support replied

    Hello Marc

    1. got it, I modified the same file /sections/portfolio_section_item.php 

    2. confirm plz that everything is okay  on step 1 first so that we can move on with this one.

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • marc replied

    Hello support,

    1- That is perfect. Thanks a million!

    Everything is ok on step 1!

    2- We can go ahead on this one.

    Marc

  •  1,823
    Support replied

    Hello Marc,

    Remove the Scroll Down caption and the script which made pages to mode down. Please hard refresh your page and test it.

    Regards

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • marc replied

    Hello support,

    Can you tell me what script it is?

    Marc

  •  1,823
    Support replied

    Hi Marc

    in /js/scripts.js (path relative to the root theme folder) I commented this:

    if( $('#project-nav').length > 0 ){

    if ($("body").hasClass("smooth-scroll")) {
    TweenMax.to(scrollbar, 1.5, {scrollTo:120, delay:0.3, ease:Power4.easeInOut});
    } else {                    
    TweenMax.to(window, 1.5, {scrollTo:120, delay:0.3, ease:Power4.easeInOut});           
    }
    }

    so that the automatic scroll will be disabled


    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • marc replied

    Hi,

    Everything is ok now, You can close this ticket!

    Thanks again for the outstanding support.

    Marc

  •  1,823
    Support replied

    Hello Marc,

    that's good to hear. If you like our theme and our services in general, we appreciate if you rate it!

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy