How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums PokaTheme support PokaTheme Review style 1 sticky bar location : left to right?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #18159
    dukehyun
    Participant

    hello

    In Review style 1, I want to move sticky bar from left to right like review 3.

    What files i need to touch?

    Thank you and have a geat weekend all.

    #18166
    admin
    Keymaster

    Hello!

    First of all you shouldn’t touch any files directly on the parent theme.

    So first, you should upload and activate the child theme that is inside the zip you downloaded once you purchased the theme.

    Then you should create a new file inside: YOUR-CHILD-THEME\inc\templates\affiliates and name it “affiliates-single-style1.php”.

    Then go to parent theme folder: pokatheme\inc\templates\affiliates\affiliates-single-style1.php, and copy-paste all code from this file to the new file you created inside your child theme.

    Finally go to the 3rd line and change this:

    <div class="row gap-20">
    

    to this:

    <div class="row row--reverse gap-20">
    

    Let us know if you still need help on this one.

    #18174
    dukehyun
    Participant

    everything PERFECT!!

    super thank you about your kind answer.

    #18177
    Ricardo Nuno
    Participant

    It would be nice if you had this as an option in the visual options of the review page theme options, is the suggestion.

    • This reply was modified 4 months, 1 week ago by Ricardo Nuno.
    #18186
    admin
    Keymaster

    We will consider adding new options like these, thank you!

    #18286
    admin
    Keymaster

    Hi all,

    Today we released a new version for PokaTheme (v.4.0.7) which gives the users the ability to change the sticky bar position in Style 1 and Style 3.

    Below you can find the code snippets you could add to your child theme’s functions.php to achieve this.

    For Style 1:

    add_filter( 'poka_affiliate_single_style_1_row_class', 'poka_child_6544bc1a1ab05' );
    function poka_child_6544bc1a1ab05() {
    	return 'row row--reverse gap-20';
    }
    

    For Style 3:

    add_filter( 'poka_affiliate_single_style_3_row_class', 'poka_child_6544bdbb450ec' );
    function poka_child_6544bdbb450ec() {
    	return 'row row--reverse gap-30-x';
    }
    
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.