badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Automatic capitalization in submenus

Tagged: 

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #16696
    Julien
    Member

    Hello Theme Horses !

    I would like to know how to disable automatic capitalization at the beginning of each word in each submenu.
    I would also like to change the “Read more” link under each service to put it in French language. I can make code customization without problems, and repeat it after each theme update, it’s just that I can’t find where it is…
    Sorry for my (maybe) bad english and thank you in advance for your advices !

    Julien.

    #16746

    Hi Julien,
    Go to the Dashboard -> Appearance -> Theme Options -> design options -> Custom CSS and add paste this CSS

    #access a {
    text-transform: none;
    }

    For your second question

    We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. So better make child theme and first unhook the functions and the edit the code.

    http://codex.wordpress.org/Child_Themes

    As you have mentioned above that you don’t have any problem to change the code. Then its ok. The file is under you theme folder (interface pro) -> inc -> widgets -> interface_widgets

    If you want to change the services widgets read more link path then, its on line no 342
    Can you see this code ?

    <a class="more-link" title="<?php the_title_attribute(); ?>" href="<?php the_permalink(); ?>">
     						<?php echo $options[ 'post_excerpt_more_text' ]; ?></a>

    You may change here.

    I can give you a something help better make it with child theme.
    ==> widgets child theme

    In functions.php of the child theme, create your widgets and register them. Just copy the parent widget, change the name of widget like Theme Horse Child: Services Widget, make customisation and create your custom widget. If you do this, the widgets of parent theme and child both will appear. Use your custom widget of child theme instead of the parent theme.

    Just making same file structure in the child theme like /library/widgets won’t overwrite the parent file. Hope this helps.

    Thank you!

    #17048
    Julien
    Member

    I thank you very much for your answer !

    I’ve also seen that there is a ‘Read more’ behind all articles into the news category. What about it ?

    Thanks again !

    Julien.

    #17086

    hi Julien,
    The read more means that, if you click on read more then it will takes you to the detail page. This is for this only.

    Thank you!

    #17268
    Julien
    Member

    Hi !

    I’ve understood the function of the button, but I meant how I can change its language ? Inside the code, as for the Read more button of the Services.

    Thank you !

    Julien.

    #17279

    hi Julien,
    If you want to change the language then go to dashboard -> appearance -> theme options -> advance options -> excerpt options -> post excerpt more text.

    From here you can change any text you like.

    Thank you!

    #19179
    Peter
    Participant

    Hi Theme Horse,
    I also would like to know how to disable automatic capitalization at the beginning of each word in each submenu. I´ve placed the CSS code you have mentioned above withtin the “Dashboard -> Appearance -> Theme Options -> design options -> Custom CSS” but submenus are still shown with uppercase first letter.

    thanks for your help
    Peter

    #19198
    Melanie
    Participant

    Hi Theme Horses,
    I´ve got the same problem like Peter. I used the CSS code you have mentioned before but the submenues didn´t change.
    The first letter of each word is still capitalized. The code just affect the main menu.

    Thanks a lot for your help
    Melanie

    #19232

    Hi Melanie,
    Please add this css inside custom css from the theme options

    #access ul li ul li {text-transform : none;}

    Hope this may help you

    Thank you!

    #19248
    Peter
    Participant

    Thanks for quick response Theme Horse Support Team – just tried to fix, unfortunately this CSS code changed back main menu letters inter Uppercase, whilst Sub-Menus still first letter uppercase – sorry.

    regards
    Peter

    #19250
    Melanie
    Participant

    Thanks for your answer, but unfortunately it doesn´t work this way. Sorry.

    #19255

    Hi Melanie,
    Please remove all above css from your custom CSS and try below one:

    #access ul li ul li a, 
    #access ul li.current-menu-item ul li a, 
    #access ul li ul li.current-menu-item a, 
    #access ul li.current_page_ancestor ul li a, 
    #access ul li.current-menu-ancestor ul li a, 
    #access ul li.current_page_item ul li a {
        text-transform : none;
    }

    Hope this will solve your problem.

    Thank you!

    #19285
    Melanie
    Participant

    YES! 😀 It worked! 🙂
    This was a real problem for me.
    Thanks a lot for your help!

    Regards
    Melanie

    #19348

    That’s great Melanie

    Thank you!

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.