kcmuppet
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Testimonials] Font style cssOK…well thing thing is, I don’t have any other italic fonts anywhere on the site…
Forum: Plugins
In reply to: [Page scroll to id] Conflict with Visual ComposerThanks. I made the edits, but it hasn’t changed the error. Perhaps I didn’t edit it correctly. My file now reads exactly like this:
(function($){ var _p="mPS2id", _o=mPS2id_params, shortcodeClass=_o.shortcode_class, //shortcode without suffix _hash=location.hash || null, _isValidSelector=function(selector){ try{ var $element=$(selector); }catch(error){ return false; } return true; }, _validateLocHash=function(val){ return _isValidSelector(val) && $(val).length && $("a[href*='"+val+"']").filter(function(){return $(this).data(_p+"Element")==true}).length; }, _offset=function(val){ if(val.indexOf(",")!==-1){ var arr=val.split(","),y=arr[0] || "0",x=arr[1] || "0"; return {"y":y,"x":x}; }else{ return val; } }, _screen=function(val){ if(val.indexOf(",")!==-1){ var arr=val.split(","),x=arr[0] || "0",y=arr[1] || "0"; return [x,y]; }else{ return val; } }; $(document).ready(function(){ for(var k=0; k<_o.total_instances; k++){ //scroll to location hash on page load if(_o.instances[_p+"_instance_"+k]["scrollToHash"]["value"]==="true" && _hash){ $(_o.instances[_p+"_instance_"+k]["selector"]["value"]+",."+shortcodeClass).each(function(){ $(this).data(_p+"Element",true); }); if(_validateLocHash(_hash)){ var href=window.location.href.replace(/#.*$/,"#"), layout=_o.instances[_p+"_instance_"+k]["layout"]["value"]; if(layout!=="horizontal"){ $(window).scrollTop(0); //stop jump to hash straight away } if(layout!=="vertical"){ $(window).scrollLeft(0); //stop jump to hash straight away } if(window.history && window.history.pushState){ window.history.pushState("","",href); }else{ window.location.href=href; } } } } }); $(window).load(function(){ for(var i=0; i<_o.total_instances; i++){ $(_o.instances[_p+"_instance_"+i]["selector"]["value"]+",."+shortcodeClass).mPageScroll2id({ scrollSpeed:_o.instances[_p+"_instance_"+i]["scrollSpeed"]["value"], autoScrollSpeed:(_o.instances[_p+"_instance_"+i]["autoScrollSpeed"]["value"]==="true") ? true : false, scrollEasing:_o.instances[_p+"_instance_"+i]["scrollEasing"]["value"], scrollingEasing:_o.instances[_p+"_instance_"+i]["scrollingEasing"]["value"], pageEndSmoothScroll:(_o.instances[_p+"_instance_"+i]["pageEndSmoothScroll"]["value"]==="true") ? true : false, layout:_o.instances[_p+"_instance_"+i]["layout"]["value"], offset:_offset(_o.instances[_p+"_instance_"+i]["offset"]["value"].toString()), highlightSelector:_o.instances[_p+"_instance_"+i]["highlightSelector"]["value"], clickedClass:_o.instances[_p+"_instance_"+i]["clickedClass"]["value"], targetClass:_o.instances[_p+"_instance_"+i]["targetClass"]["value"], highlightClass:_o.instances[_p+"_instance_"+i]["highlightClass"]["value"], forceSingleHighlight:(_o.instances[_p+"_instance_"+i]["forceSingleHighlight"]["value"]==="true") ? true : false, keepHighlightUntilNext:(_o.instances[_p+"_instance_"+i]["keepHighlightUntilNext"]["value"]==="true") ? true : false, highlightByNextTarget:(_o.instances[_p+"_instance_"+i]["highlightByNextTarget"]["value"]==="true") ? true : false, disablePluginBelow:_screen(_o.instances[_p+"_instance_"+i]["disablePluginBelow"]["value"].toString()) }); //scroll to location hash on page load if(_o.instances[_p+"_instance_"+i]["scrollToHash"]["value"]==="true" && _hash){ if(_validateLocHash(_hash)){ $.mPageScroll2id("scrollTo",_hash); if(window.history && window.history.pushState){ window.history.pushState("","",_hash); }else{ window.location.hash=_hash; } } } } }); //extend jQuery's selectors $.extend($.expr[":"],{ //position based - e.g. :fixed absolute:$.expr[":"].absolute || function(el){return $(el).css("position")==="absolute";}, relative:$.expr[":"].relative || function(el){return $(el).css("position")==="relative";}, static:$.expr[":"].static || function(el){return $(el).css("position")==="static";}, fixed:$.expr[":"].fixed || function(el){return $(el).css("position")==="fixed";}, //width based - e.g. :width(200), :width(>200), :width(>200):width(<300) etc. width:$.expr[":"].width || function(a,i,m){ var val=m[3].replace("<","<").replace(">",">"); if(!val){return false;} return val.substr(0,1)===">" ? $(a).width()>val.substr(1) : val.substr(0,1)==="<" ? $(a).width()<val.substr(1) : $(a).width()===parseInt(val); }, //height based - e.g. :height(200), :height(>200), :height(>200):height(<300) etc. height:$.expr[":"].height || function(a,i,m){ var val=m[3].replace("<","<").replace(">",">"); if(!val){return false;} return val.substr(0,1)===">" ? $(a).height()>val.substr(1) : val.substr(0,1)==="<" ? $(a).height()<val.substr(1) : $(a).height()===parseInt(val); } }); })(jQuery);
Forum: Plugins
In reply to: [Page scroll to id] Conflict with Visual ComposerI’m not much of a technician is there somewhere specific I need to add it in that file? Do I put it at the end after:
<val.substr(1) : $(a).height()===parseInt(val); } }); })(jQuery);
???
Thanks Magnus, but where’s the readme.txt?
Forum: Plugins
In reply to: [OSD Social Media Sharing] Any way to specify roll-over / hover icons?Thanks I’ve got exactly that code in my custom css (apart from the server name, but it still shows the hover icon image under the custom icon, like this:
Forum: Plugins
In reply to: [Easy Testimonials] Font style cssHi Richard, thanks for your suggestions. I’ve now got:
p.easy_testimonial_title{ font-style: normal !important; font-weight: bold; } p.testimonial-client{ font-style: normal; font-weight: bold; } p.testimonial-position{ font-style: normal !important; font-weight: bold; } p.testimonial_author{ font-style: normal !important; font-weight: bold; } p.testimonial_client_name{ font-style: normal !important; font-weight: bold; } p.testimonial_client_company_name { font-style: normal !important; font-weight: bold; }
…but sadly it hasn’t made a difference – they’re all still italic.
I had a look at firebug – it looks a little overwhelming. Where in it would I be able to see what is being over-ridden? Would it be obvious also using the inspect element thing in chrome? Not sure what I’m looking for.
Forum: Plugins
In reply to: [OSD Social Media Sharing] Any way to specify roll-over / hover icons?Sorry, I’m confused. I have custom icons, say Twitter-grey.png and for the rollover Twitter.png. In your settings page I choose Twitter-grey.png as my custom icon.
Is this what I should put in my custom css:
.osd-sms-icon-button > .osd-sms-link:hover > img { display: none; } .osd-sms-link[data-platform=twitter]:hover { background: url(https://server/wordpress/wp-content/uploads/2015/01/Twitter.png); }
Forum: Themes and Templates
In reply to: [Minamaze] Change logo linkThank you, I set it to # and that seems to have worked
Forum: Plugins
In reply to: [Sticky Menu & Sticky Header] Lost sub-menu / drop-down menuThe regular version is now installed and everything seems to be working. Thank you, again.
Forum: Plugins
In reply to: [OSD Social Media Sharing] Any way to specify roll-over / hover icons?Thanks. I’m having trouble with it though (not much of a programmer).
For me it’s putting the hover image underneath the image selected in the settings page: Here’s what I’ve got:
‘.osd-sms-link[data-platform=twitter]:hover {
background: url(https://server/wordpress/wp-content/uploads/2015/01/Twitter.png);
}’Forum: Plugins
In reply to: [Sticky Menu & Sticky Header] Lost sub-menu / drop-down menuHi
(I was using the experimental version in case there was trouble with Revolution slider, etc.) To install the stable version over the experimental, is it just a case of deleting the plugin and reinstalling it from within wordpress?Forum: Plugins
In reply to: [Sticky Menu & Sticky Header] Lost sub-menu / drop-down menuLooking at the sub menu thing again – it definitely it isn’t working for the sub-menu when you’re scrolled down at all – even with no other plugins activated. Only the top menu shows the drop-down
(I’m trying in Chrome & IE11 in case that’s relevant.)
I don’t have any custom CSS (that I know of)
I don’t know what to try next.???Forum: Plugins
In reply to: [Sticky Menu & Sticky Header] Lost sub-menu / drop-down menuGoing to do some more extensive testing on the plugins and see if it might be to do with the order in which they’re loaded (as my friend thinks)
Forum: Plugins
In reply to: [Sticky Menu & Sticky Header] Lost sub-menu / drop-down menuI spoke too soon! My testing was just with the menu at the top of the page. Once scrolled down, the sub-menu doesn’t appear, even with that other plugin switched off. ??
Forum: Themes and Templates
In reply to: [Minamaze] Fixed top menus?Here’s how I did something similar:
https://www.ads-software.com/support/topic/keep-menu-at-the-top-when-scolling?replies=2#post-6465632