Giorgio25b
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Simone] Possible to center menu@ MimmiN
Excellent! Maybe before closing this topic as resolved you can post a link to you site so we can see the outcome.
Thanks,
GiorgioForum: Themes and Templates
In reply to: [Simone] Different Header Imageworking on a rough solution like this:
function header_image_switcher(){ switch(true) { case(is_home()) : $get_header_image = 'en.jpg'; break; case(is_archive()) : while(have_posts()) { the_post(); $get_header_image = 'it.jpg'; } break; case(is_single()) : while(have_posts()) { the_post(); $get_header_image = 'de.jpg'; } break; default: $get_header_textcolor; break; } }
it is not working because I’m still working on it, it is just an idea eh!
Forum: Themes and Templates
In reply to: [Simone] Different Header ImageI’m not even close to a solution but I’m gathering different input to implement your code that has the limitation to be hardcoded when it comes to images url and posts/pages names and links.
Scott suggested to use GET the ID for the posts.
Morten suggested to publish the pictures in posts and than to get the post id for th picture as well.This would make your snippet more “dynamic” so you won’t be bound to those page/file names or urls.
Let’s see how it goes…
Forum: Themes and Templates
In reply to: [Simone] Different Header Image@ dtjin
Thanks so much for this. Even if does not work 100% it is an excellent starting point to work out an optimal solution.
Let’s see if I can come out with some small improvement to your code…
Forum: Themes and Templates
In reply to: [Simone] Different Header Image@ dtjin
Hey would you mind to share the snippet?
I’m trying to achieve the same result and possibly more ??
Thaaaanks
Forum: Themes and Templates
In reply to: [Simone] Possible to center menuFor the menu try this:
@media screen and (max-width: 600px) { .menu-main-menu-container { margin-left: 30%; } }
This is the result on my local site:
MatriKSIt is a raw snippet, you’ll have to adapt it to your needs.
P.S. for the tags below the excerpt question, I would suggest you to open a different topic to avoid confusion.
Hope it helps,
G.code correction here below:
//function to override the menu wrapper's class function my_custom_navbar_wrapper_class() { return apply_filters( 'my_custom_navbar_wrapper_class', 'navbar-wrapper clearfix span12' ); } add_filter('tc_navbar_wrapper_class', 'my_custom_navbar_wrapper_class' );
changed echo with return
Thanks,
I did the theme development and Customizr rocks for this, the visual design has been done by WorkingDesign.netTo the next then.
G.oh btw,
here is where I needed the menu wrapper to be span12:
https://www.fipa.bc.ca/Thanks and 2 ∞ & →
Thanks Nicholas,
I’m looking forward to the new version!
The reason why I did not use the hooks is because at the beginning I was too lazy or in a rush to write my own filters for all the customizations needed.
I’m not overriding the code in that brutal way anymore and here I promise to use only custom filters and actions like this one://function to override the menu wrapper's class function my_custom_navbar_wrapper_class() { echo apply_filters( 'my_custom_navbar_wrapper_class', 'navbar-wrapper clearfix span12' ); } add_filter('tc_navbar_wrapper_class', 'my_custom_navbar_wrapper_class' );
Thanks,
Giorgio@ Mike [email protected]
If you are not using Customizr as a theme this post will not help you.
That option is only available for the Customizr back-end.
Hope it helps
G.
Forum: Themes and Templates
In reply to: [Customizr] Logo will not upload correctly in Customizr@cafoundationfund
all the working solutions are posted above. Either you remove and re-upload the logo or if you have theclass-header-header-main.php
in the child-theme you have to merge your custom code with new one.
Forum: Themes and Templates
In reply to: [Customizr] Logo will not upload correctly in Customizr@ RandomNick
That worked even better
Thanks, I should have thought about it before!@ Dario_Arc
try to make a file compare between your 2 files and merge the differences.
On your Map
the iframe is a bit wonky, try to add this in the css:iframe { border: thin solid #FF0000; width: 765px; }
Hope it helps
GForum: Themes and Templates
In reply to: [Customizr] Logo will not upload correctly in CustomizrHi all,
don’t know if it helps, but I had the same problem on this test site:
test site in progress
and I solved removing the logo and re-installing it:
Remove LogoHope it helps,
GiorgioThanks it works!