Forum Replies Created

Viewing 11 posts - 21 through 31 (of 31 total)
  • Author
    Posts
  • in reply to: Polylang issues #94283
    Huca
    Participant

    1) line 10 added, but still no change :/ Actually there is one – it switched to EN, but doesn´t switch back to CZ when changing languages.

    in reply to: Polylang issues #94280
    Huca
    Participant

    1) yes. code is here:

    `<?php
    /**
    * Child Theme functions and definitions
    *
    */

    /**
    * Loading Parent theme stylesheet
    *
    */
    add_action( ‘wp_enqueue_scripts’, ‘catchresponsive_child_enqueue_styles’ );
    function catchresponsive_child_enqueue_styles() {
    wp_enqueue_style( ‘catchresponsive-parent-style’, get_template_directory_uri() . ‘/style.css’ );}

    if ( ! function_exists( ‘catchresponsive_polylang_invalidcache’ ) ) :
    /**
    * Template for Clearing Polylang Invalid Cache
    *
    */
    function catchresponsive_polylang_invalidcache() {
    delete_transient( ‘catchresponsive_featured_slider’ );
    } // catchresponsive_polylang_invalidcache
    endif;

    3) you mean the Polylang?

    in reply to: Polylang issues #94277
    Huca
    Participant

    Some update:

    1) I have already installed the child theme and weird problem is in here – when I am in the “editing mode” of childtheme – meaning in the appearance – customize. I can see the carousel is changing when switching languages. However when I try it on the real page, it doesn´t work and remains in the same language.

    3) some more ideas? This is really stupid, to have the logo link to different language.

    Thanks a lot.

    in reply to: Polylang issues #94174
    Huca
    Participant

    2) well it´s not just featured slider, it´s an image that appears the same for both pages. Or you mean this is an issue of Polylang because it´s using the same image?

    in reply to: Polylang issues #94170
    Huca
    Participant

    Hi Pratik,

    thanks a lot for your answers.

    1) fighting with the child theme setup, will let you know
    2) I meant the image used from theme, which is then used to featured slider. I believe this is not any plugin´s issue, but template only?
    3) disabled caching plugin, but no change, this is really weird as I look at it in the same way that it should work in the same way as the text :/

    in reply to: Polylang issues #94114
    Huca
    Participant

    And one more:

    3) the logo link leads to CZ version when being on EN version of the webpage. This is strange because the text after logo leads to correct EN version.

    in reply to: add image-icon before text in menu #92363
    Huca
    Participant

    Works! thanks a lot for your help Sakin.

    in reply to: String translation #92362
    Huca
    Participant

    I see, this works. The only problem is that it will be translated also for future EN pages, won´t it be?

    Anyway the universal … should solve this problem for both languages.

    thanks Mahesh.

    in reply to: add image-icon before text in menu #92353
    Huca
    Participant

    Thanks a lot it works!

    One more question – any idea, how to set just a tiny left margin for the image itself so it would be exactly on the left side? When being on this particular page the menu is ugly. However all the margins and padding apply for text only, not for image.

    in reply to: String translation #92341
    Huca
    Participant

    Hi Mahesh,

    it´s really weird, because all the other translations for this theme work fine, just this one doesn´t.

    http://imgur.com/TgegvXD

    is it the correct string to traslate?

    thanks a lot for you help,

    Petr

    in reply to: add image-icon before text in menu #92300
    Huca
    Participant

    Hi,

    I am trying to add image to my menu on this page:

    http://solveprague.cz/

    by using the code

    `#header-menu .home a {
    background-image: url(“http://solveprague.cz/wp-content/uploads/2016/05/logoSP2525.jpg&#8221;);
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 25px;
    }

    tbh I am not really sure where to change name of class menu item. I have changed it in atribute title to “home”.

    thanks for your help.

Viewing 11 posts - 21 through 31 (of 31 total)