-
AuthorPosts
-
August 31, 2015 at 5:42 pm #496010
Hi, I can’t figure out how to override the header logo and substitute it with another in a specific category only.
Any ideas?
Appreciate your help!!September 1, 2015 at 7:31 am #496252September 1, 2015 at 1:45 pm #496391Hello Rikard,
Posts on 2 separate categories need 2 different heather-logos: “linea gourmet” and “recetas”…What would be the easiest way to handle this?
Thank you!!!!!September 1, 2015 at 7:12 pm #496639Hi!
Please add following code to Functions.php file in Appearance > Editor
add_filter('avf_logo','av_change_logo'); function av_change_logo($logo) { if(is_category( 'recetas','linea gourmet' ) ) { $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png"; } return $logo; }
It will change logo on category archives. If you would like to change it on single posts as well or change logo links, please let us know!
Regards,
YigitSeptember 1, 2015 at 8:21 pm #496700Hi Yigit, Thanks for your quick reply.
The site is not meant as a blog but as a regular web, posts are fixed, more like pages really.
Do these posts count as “category archives”?
Thanks!!!September 1, 2015 at 8:35 pm #496711Hey!
Have you added the code to functions.php file? If you have, did it make the changes you would like? If not, can you please post the link to your page where you would like to display a different logo? :)
Regards,
YigitSeptember 1, 2015 at 10:24 pm #496749Have to admit a php close-to-panic (from previous php serious traumas)
Would this be right? (i mean the joining of both images)add_filter(‘avf_logo’,’av_change_logo’);
function av_change_logo($logo)
{
if(is_category( ‘linea gourmet’ ) )
{
$logo = “/wp-content/uploads/2015/09/header-linea-gourmet3.png”;
}
return $logo;
if(is_category( ‘recetas’ ) )
{
$logo = “/wp-content/uploads/2015/09/header-recetas2.png”;
}
return $logo;
}September 1, 2015 at 11:41 pm #496772Hey!
NO it is not right,
Please copy the code from forum and not from email, as the ‘ gets stripped out.
Else the code seems to be right!Best regards,
BasilisSeptember 12, 2015 at 11:44 pm #502179Hi, could you please help to change the input font-color on the contact form?
added this to the custom css but it didn’t work…
#top .main_color .input-text,
#top .main_color input [type=“text”],
#top .main_color input [type=“input”],
#top .main_color input [type=“email”],
#top .main_color input [type=“number”],
#top .main_color input [type=“tel”],
#top .main_color textarea,
{
color: #888888;
}THANKS SO MUCH!!!
ps. still waiting to muster-up courage to tackle the php header change (i’ve done mayor damage in the past) its coming…
September 14, 2015 at 4:44 am #502437Hi!
You can try this css code:
#top .main_color .input-text, #top .main_color input[type='text'], #top .main_color input[type='input'], #top .main_color input[type='password'], #top .main_color input[type='email'], #top .main_color input[type='number'], #top .main_color input[type='url'], #top .main_color input[type='tel'], #top .main_color input[type='search'], #top .main_color textarea, #top .main_color select { color: #888888 !important; }
Regards,
IsmaelSeptember 14, 2015 at 11:36 pm #503067Thank you Ismael, it worked perfect.
Another lil thing: the form “addition” will not allow input, why would this be?
Thanks in advance, best regardsSeptember 15, 2015 at 2:06 pm #503343Hi!
Can you please elaborate? I checked your website and was able to insert text into textarea field – http://i.imgur.com/a4O8YXa.png
Regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.