Viewing 25 posts - 1 through 25 (of 25 total)
  • Author
    Posts
  • #14845

    Hello,

    I would translate the name “All” by “Tout” (I’m French) in the choice of categories in my portfolio, and the “top” by “Haut” in the Ruller with Top link… I have not found in the “default.po” (I guess this is in one place)

    thank you in advance

    Fabien

    #85117

    Hi Fabien,

    To translate “All” you’ll need to do is edit the template file directly. In your theme directory open loop-portfolio.php and replace this line

    $output .= "<a href='#' id='all_sort' class='active_sort'>".__('All','avia_framework')."</a>";

    with this:

    $output .= "<a href='#' id='all_sort' class='active_sort'>".__('Tout','avia_framework')."</a>";

    Now open sidebar.php and replace this line

    echo "<a class='scroll_top_fadein' href='#top'><span>".__('Scroll to top', 'avia_framework')."</span></a>";

    with this:

    echo "<a class='scroll_top_fadein' href='#top'><span>".__('Scroll to Haut', 'avia_framework')."</span></a>";

    Regards,

    Mya

    #85118

    thank you Mya,

    It works, thank you again, I want to highlight the speed of all the responses I received … great follow up!!

    And I want to ask you another question … I think it will be the last

    I use the “One Page Portfilio” with several Portfolios where the thumbnails that are themselves linked to pages, located in one portfolio page ….

    http://fabien.m.free.fr/image/4.jpg

    These pages are in submenu of their portfolio … for now it suits me (because it is convenient for building the site …)

    http://fabien.m.free.fr/image/5.jpg

    then I would disable these menu pages, they will only be selected by portfolios (it would therefore be seen that portfolios , the home page and contact) I am understandable?

    I would also like selected pages are highlighted in the “portfolio parent” in the menu (since they will no longer be visible …) is it possible ?

    thank you

    Fabien

    #85119

    Hi Fabien,

    Afraid, I’m not entirely following what you’re trying to do as far as the sub-menus. My first thought is that you could setup the menu under Appearance > Menus but I’m not sure if that’s the correct answer or not. So I’m going to tag the rest of the support team to see if they can be of assistance.

    As far as the “portfolio parent” try adding this to your custom.css or Quick CSS.

    .current-menu-item,
    .current-page-ancestor,
    .current-post-ancestor {
    background-color: #444444;
    }

    Regards,

    Mya

    #85120

    Hello Mya,

    I put the code in custom.css, I see no difference …

    is this normal?

    In the menu appearance, I think that too, however I have no competence in CSS, PHP … thank you for helping me :)

    Au revoir…

    Fabien

    #85121

    Especially since my menu is growing day by day and may cause the display problem (when the menu is larger than the display window …)

    #85122

    Hi Fabien,

    Can you post a link to your website so I can see the menu live?

    Regards,

    Mya

    #85123

    Hi!

    URL removed by request.

    Voilà :)

    Regards,

    Mya

    #85124

    Hello,

    I want to help but I’m not quite sure what is the problem with the menus.

    Regards,

    Ismael

    #85125

    Hello Ismael

    Thank you for your help, I want to keep only in the menu: / Home / the different portfolios-Graphics – illustrations – Websites / and Contact… but not to make visible the submenu : “Atelier du Parc” “Les Zenimaux” “Croquis”…

    all links (submenu) are also present in the portfolios … because I want this type of navigation:

    In the Menu: Choice of class, “Porfolio – Graphisme” >> in the Portfolio: Choosing the customer with the thumbnail “L’Atelier du parc” >> Which brings us to the desired location in the “One Page Portfolio”

    For two reasons the menu will be much more understandable and to avoid the display problem, When the menu is larger Than the display window … This is important because I have to add more customers.

    I did some testing by removing or failing to give name to the element “page section” in the “Setting One Page Portfolio” the submenu disappears, but of course the link in the portfolio does not work anymore …

    Thanks! :)

    Fabien

    #85126

    Hey!

    Hello,

    Here a visual for the menu “portfolio site internet mailing.”

    URL removed by request

    and for the selected item (the “portfolio site internet mailing” still highlighted)

    URL removed by request

    Regards,

    Fabien

    Best regards,

    Mya

    #85127

    Hi!

    You can hide the sub menu items with following css code – add it to css/custom.css:

    #top .main_menu .sub-menu-item {
    display: none;
    }

    Regards,

    Peter

    #85128

    Super! Dude :)

    I would like just a small thing…

    Here for example I select the menu “Portfolio-illustration” tab is highlighted.

    URL removed by request

    Then in the “Portfolio-illustration” I select “Croquis & Mise en couleur” and the tab in the menu is not highlighted anymore, which is annoying.

    URL removed by request

    I wish that the tab in the menu remains highlighted, until we resélectionnera another ..

    thank you

    Fabien

    #85129

    …until we select another ^^..

    I’m sorry for my bad english :)

    #85130

    The menu does not support this feature at the moment – you can try following js code though. I’ve coded it without testing and I’m not sure if it works properly but it’s worth a try – add it to the bottom of js/avia.js:

    jQuery(document).ready(function() {
    setInterval( function() {
    jQuery('li.sub-menu-item.current-menu-item').closest('li:not(.sub-menu-item)').addClass('current-menu-item');
    }, 500);
    });

    #85131

    Hello dude,

    I tested, but apparently it does not work …

    thank you for helping me :)

    Fabien

    #85132

    Hey!

    Do you get any error messages? Can you add the code snippet to js/avia.js – I’ll debug the code with Firebug.

    Regards,

    Peter

    #85133

    Hi the Dude…

    I handed the file, I had no errors, but seeing that it did not work I decided to have a code “clean” and handed the original file … firebug is great! I found that yesterday, but I do not know anything about CSS PHP …

    thank you again to you

    fabien

    #85134

    Hi Fabien,

    You’ll need to actually add into the page and keep it there so that Peter can take a look at it. Otherwise, I’m not sure if we can offer a fix to highlight the sub menu items.

    Regards,

    Devin

    #85135

    Hello Devin,

    I put the code at the end of avia.js when I got the message from Peter …it is not visible?

    URL removed by request

    I put it back in case …

    Merci

    Fabien

    #85136

    Hello,

    is it good there, or I have not done what you ask ?

    Regards,

    Fabien

    #85137

    I just noticed that the script won’t work at all because it only takes care of the menu/submenu relationship. It doesn’t highlight menu items based on the one page portfolio section. I’ll mark this thread for Kriesi.

    #85138

    thank you

    I still have a small question :)

    As the site is more time to load, is there a possibility to load in priority the Logo and the images on the page “Home” (first visible elements)?

    Regars,

    Fabien

    #85139

    Hi Fabien,

    As far as I know, there’s no way to do what you suggested. You may want to look into using a plugin like Total Cache 3, Super Cache, etc. to help optimize the website’s load times though.

    Regards,

    Mya

    #85140

    ok, thank you

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

The topic ‘Translate the name "All" by "Tout"…’ is closed to new replies.