dboff
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Virtue] Shrinking sticky header on scrollOkay, I removed the ‘1.0’ in the second line of the functions.php, then the website works again. But no shrinking.
The website is futureforms.deDave
Forum: Themes and Templates
In reply to: [Virtue] Shrinking sticky header on scrollHi,
I have problems with putting this in my childtheme. Can you post a step-by-step solution?
What I did: I created a folder called “js” in my childtheme folder. There i put the file “shrink-header.js” with this content:jQuery(document).ready(function($) { $(window).scroll(function () { if ($(window).scrollTop() > 100) { $('header').addClass('shrink'); } else{ $('header').removeClass('shrink'); } }); });
then i created a functions.php an put this in it:
function virtue_child_load_shrink_header() { wp_register_script( ‘shrink-header’, get_stylesheet_directory_uri() . ‘/js/shrink-header.js’, array(‘jquery’), ‘1.0’, true ); wp_enqueue_script( ‘shrink-header’ ); } add_action( ‘wp_enqueue_scripts’, ‘virtue_child_load_shrink_header’ );
last i put the stylecode in my style.css:
header { width: 100%; height: 110px; overflow: hidden; position: fixed; left: 0; z-index: 999; background: #fff!important; -webkit-transition: height 0.3s; -moz-transition: height 0.3s; -ms-transition: height 0.3s; -o-transition: height 0.3s; transition: height 0.3s; } .headerclass.shrink { width: 100%; height: 50px; overflow: hidden; position: fixed; left: 0; z-index: 9999; background: #fff!important; -webkit-transition: height 0.3s; -moz-transition: height 0.3s; -ms-transition: height 0.3s; -o-transition: height 0.3s; transition: height 0.3s; } header.shrink #thelogo { display:none; }
what do i have to change now? I removed the blank in the stylesheet and renamed it to headerclass.shrink. But where else do i have to change this so it works? Right now it says that there is a problem with my functions.php:
Parse error: syntax error, unexpected ‘.0’ (T_DNUMBER) in /var/www/web138/html/futureforms/wp-content/themes/FutureForms/functions.php on line 18Thanks,
DaveHi,
I have the same issue. I would like to have the product category filter when i access product category. The workaround with disabling the dynamic recount didn’t work for me. I cleand my chache and also check on an other browser. Any ideas what to do here?Forum: Themes and Templates
In reply to: [Dazzling] Remove shopping card item out of navigationI found a solution. In folder themes/dazzling/inc there is a file called woo-setup.php. In this file there is a function which calls this item in the main navigation. if i delete this function, the item wents away. but probably it will return when i update the theme. can i put this file in a childtheme?
Forum: Themes and Templates
In reply to: [Interface] intergrate with woocommerceHi,
I could integrate it and it looks very nice. Except of the Shop page. Here it doesn’t show the headline and the right sidebar i have created. I googled this problem and found this solution: https://docs.woothemes.com/document/third-party-custom-theme-compatibility/
I tried but this doesn’t work for me, or I just don’t know how exactly I have to apply this solution. I tried both ways which are described.
Did you manage to integrate it?
Dave
Forum: Themes and Templates
In reply to: [Untitled] How to disable category headlineThank you very much, exactly what i wanted ??
Forum: Themes and Templates
In reply to: [Untitled] Change from Flexslider to Revolution SliderThank you very much! Thats all i need ??
Forum: Themes and Templates
In reply to: [Untitled] Rezise pics in the sliderThank you very much, this helped a lot! The width is now in a perfect size. ??
Forum: Themes and Templates
In reply to: [Untitled] Rezise pics in the sliderHi, sorry for the late response. Thank you very much for this information! Unfortuantly i cant provide a link to my site, because this theme works in my companys intranet.
One more question. Can i resize the whole slider? I dont want it to have the full width.
Thanks for your support!Dave
Forum: Themes and Templates
In reply to: [Untitled] Recent Posts in Slider instead of Featured?I use untitled theme with (i think?!) the flexslider.
Does this meen the plugin works for you just not with the spanish language?
Forum: Plugins
In reply to: [Microsoft AJAX Translation] How do i get the API code??Ok, looks like a nice plugin, but i’m searching for an plugin just like this ajax translation, where a ‘translate’ button is directly under a post and only translates a post, not the whole site. Any ideas?
Forum: Plugins
In reply to: [Microsoft AJAX Translation] How do i get the API code??Is there an solution for this? I also don’t know how to set up an AppID…
Forum: Plugins
In reply to: [JQuery Vertical Mega Menu Widget] Submenu disappears on HoverOk, solved it. I had to set an z-index in the skin css of the menu.
—-
closedForum: Plugins
In reply to: [JQuery Vertical Mega Menu Widget] Submenu container escapes the pageOk, this works, but I got the normal mega menu and the vertical mega menu and if I change the z-index from the vertical mega menu, the submenus of the normal mega menu is behind the vertical menu…unterstood? ??
I tried do expermiate with differnt z-indexes in the normal mega menu css, vertical mega menu css and style css, but I cant solve that the vertical mega menu is in front of the header and also the normal mega menu is in front of the vertical mega menu.
Please could somebody help me?