Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • mambo.ir Friend
    #195513

    Hello

    How to active sticky top Menu navigation in JA Bookshop template?

    Thank You

    TomC Moderator
    #525516

    So that we can try to best assist you, please provide the url of the site you’re working on,
    as well as temporarily set “Optimize CSS” to “Off” within your Template Manager–General settings

    Nazario A Friend
    #525622

    @mambo.ir,

    Please try workaround below:

    – Open the file: /templates/your_template_name/tpls/blocks/header.php, then add syntax in red:

    <header id="t3-header" class="wrap t3-header" data-spy="affix" data-offset-top="60">

    – Create a new file called “custom.css” in the /templates/your_template_name/ path, then add this rule:

    .t3-header.affix {
    position: fixed;
    width: 100%;
    z-index: 1030;
    top: 0;
    }

    Let me know if this helps.

    mambo.ir Friend
    #526426

    <em>@Nazario A 415002 wrote:</em><blockquote>@mambo.ir,

    Please try workaround below:

    – Open the file: /templates/your_template_name/tpls/blocks/header.php, then add syntax in red:

    <header id="t3-header" class="wrap t3-header" data-spy="affix" data-offset-top="60">

    – Create a new file called “custom.css” in the /templates/your_template_name/ path, then add this rule:

    .t3-header.affix {
    position: fixed;
    width: 100%;
    z-index: 1030;
    top: 0;
    }

    Let me know if this helps.</blockquote>

    Thank You for answer.
    I also have another question, How to active sticky toolbar in JA Bookshop template?

    Nazario A Friend
    #526590

    @mambo.ir,

    Please open file /templates/your_template_name/css/custom.css then find and replace this code:

    .t3-header.affix {
    position: fixed;
    width: 100%;
    z-index: 1030;
    top: 0;
    }

    With:

    .t3-header.affix {
    position: fixed;
    width: 100%;
    z-index: 1030;
    top: 40px;
    }
    #toolbar {
    position: fixed;
    top: 0;
    width: 100%;
    }
    .t3-wrapper {
    top: 120px;
    }

    Let me know if this helps

    mambo.ir Friend
    #526827

    Hello

    1-after adding your code we have free space, how to fix it? (see the attachment)
    2-if i want to just sticky toolbar what can i do and change?

    Thank You


    1. after_change
    Nazario A Friend
    #526927

    @mambo.ir,

    <blockquote>1-after adding your code we have free space, how to fix it? (see the attachment)</blockquote>
    Please open the /templates/your_template_name/tpls/blocks/header.php file, then remove the declaration in red:

    <header id="t3-header" class="wrap t3-header" data-spy="affix" data-offset-top="60">

    <blockquote>2-if i want to just sticky toolbar what can i do and change?</blockquote>

    You mean to have sticky toolbar as in this screenshot?

    Please open the file: /templates/your_template_name/css/custom.css then replace this code:

    .t3-header.affix {
    position: fixed;
    width: 100%;
    z-index: 1030;
    top: 40px;
    }
    #toolbar {
    position: fixed;
    top: 0;
    width: 100%;
    }
    .t3-wrapper {
    top: 120px;
    }

    With:

    #toolbar {
    position: fixed;
    top: 0;
    width: 100%;
    }
    .t3-wrapper {
    top: 40px;
    }

    Let me know if this helps.


    1. bookshop6
    sebbs Friend
    #530413

    Need a little help! … followed all the steps and it works great however I’m off somewhere and not sure where …

    site: http://baico.dev.dnsnetworks.ca/

    this is what I added in my custom.css

    .t3-header.affix {
    position: fixed;
    width: 100%;
    z-index: 1030;
    top: 40px;
    }

    #toolbar {
    position: fixed;
    top: 0;
    width: 100%;
    }
    .t3-wrapper {
    top: 40px;
    }

    and this is in my header.php

    <header id=”t3-header” class=”wrap t3-header” data-spy=”affix” >

    TomC Moderator
    #530415

    <em>@sebbs 421098 wrote:</em><blockquote>Need a little help! … followed all the steps and it works great however I’m off somewhere and not sure where …
    </blockquote>

    What/Which elements are you seeing as being “off?”

    sebbs Friend
    #530417

    <em>@TomC 421100 wrote:</em><blockquote>What/Which elements are you seeing as being “off?”</blockquote>

    This is how I see the site when I load the page… two things are happening… the menu items are overlapping the black banner… and the slider module and today highlights or tucked under the menu … they need to come down… do you see that?

    See image:


    1. baico
    TomC Moderator
    #530418

    As for the main nav overlap issue, add the following to your custom.css file . . .


    .t3-mainnav .t3-navbar {
    margin-top: 5px;
    }

    See if that resolves the issue for you.

    TomC Moderator
    #530422

    As for the top spotlight block overlap issue, try adding the following to your custom.css file:


    .t3-spotlight {
    margin-top: 130px;
    }

    Resolve the issue appropriately?

    sebbs Friend
    #530423

    <em>@TomC 421104 wrote:</em><blockquote>

    See if that resolves the issue for you.</blockquote>

    It did … but now I think there’s too much space above the menu items… can we lessen the space?
    http://baico.dev.dnsnetworks.ca/

    TomC Moderator
    #530424

    <em>@sebbs 421109 wrote:</em><blockquote>It did … but now I think there’s too much space above the menu items… can we lessen the space?
    http://baico.dev.dnsnetworks.ca/</blockquote>

    Of course …. simply modify the pixel value to 4px, or 3px … of whatever value ends up looking best to you.

    😎

    sebbs Friend
    #530425

    <em>@TomC 421108 wrote:</em><blockquote>As for the top spotlight block overlap issue ….

    Resolve the issue appropriately?</blockquote>

    Yes it absolutely did!!!

Viewing 15 posts - 1 through 15 (of 20 total)

This topic contains 20 replies, has 4 voices, and was last updated by  sebbs 10 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum