Forum Replies Created
-
AuthorPosts
-
HucaParticipant
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.
HucaParticipant1) 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?
HucaParticipantSome 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.
HucaParticipant2) 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?
HucaParticipantHi 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 :/HucaParticipantAnd 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.
HucaParticipantWorks! thanks a lot for your help Sakin.
HucaParticipantI 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.
HucaParticipantThanks 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.
HucaParticipantHi Mahesh,
it´s really weird, because all the other translations for this theme work fine, just this one doesn´t.
is it the correct string to traslate?
thanks a lot for you help,
Petr
HucaParticipantHi,
I am trying to add image to my menu on this page:
by using the code
`#header-menu .home a {
background-image: url(“http://solveprague.cz/wp-content/uploads/2016/05/logoSP2525.jpg”);
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.
-
AuthorPosts