530 comments found

loublo Purchased

Fixing Menu hover on touch screen:

new code in custom.js:
var isTouch = ("ontouchstart" in document.documentElement || ("msMaxTouchPoints" in navigator && navigator.msMaxTouchPoints > 0));
    var isiOS = ( navigator.userAgent.match(/(iPad|iPhone|iPod)/g) ? true : false );

    var dropDownParents = $(".menu > li");
    var dropDownOpeners = $(".menu > li > a");
    var dropDownBlocks = $(".menu > li > ul");
    var dropDownSimpleLinks = $(".menu ol a");

    function fMenuClose(event) {
      dropDownBlocks.fadeOut(300);                     // Close dropDownBlocks
      dropDownOpeners.data("isPreventClick", false);   // reset flag for all dropDownOpeners
    }

    var touchEvent = window.navigator.msPointerEnabled ? "MSPointerDown" : "touchstart";

    if ( isTouch ) {
      $('html').addClass('touch');
    } else {
      $('html').addClass('no-touch');
    };

    if ( isiOS ) {
      $('html').addClass('iOS');
    } else {
      $('html').addClass('no-iOS');
    };

    if (isTouch && !isiOS) {

      // dropDownOpeners - prevent following the links:

      function menuTouch(event) {
        var flagToggled = !($(this).data("isPreventClick"));  // toggle prevent-click-flag for specific link
        dropDownOpeners.data("isPreventClick", false);        // reset flag for all dropDowns
        $(this).data("isPreventClick", flagToggled);          // set new flag value
        this.focus();                                         // focus on dropdown menu.
      }

      function menuClick(event) {
        if ($(this).data("isPreventClick")) {
          event.preventDefault();
        }
      }

      dropDownOpeners.data("isPreventClick", false);
      dropDownOpeners.bind(touchEvent, menuTouch);
      dropDownOpeners.bind("click", menuClick);

      // dropDownBlocks - adjust hover behavior:

      dropDownParents.bind('touchstart', function(e) {
        dropDownBlocks.hide();                                  // hide all others
        $(this).find('ul:first').css('visibility','visible');   // show self
        $(this).find('ul:first').css('display','block');
        e.stopPropagation();                                    // stop touch events at the container element
      });

      $(document).bind('touchstart', function(e) {    // if user taps anywhere in the page
        fMenuClose(null);
      });

      dropDownBlocks.bind('touchstart', function(e){
        e.stopPropagation();                          // stop touch events stop at the container element
      });

      dropDownSimpleLinks.click(function () {         // if user taps on any link in drop-down
        fMenuClose(null);
      });

    }

change code in style.css:
.no-touch .menu li:hover > ul, 
.no-touch .menu li:hover > div,
.iOS .menu li:hover > ul, 
.iOS .menu li:hover > div {               /*  Note the ".no-touch | .iOS" !!! */
    visibility: visible;
    display: block;
}
. . .
.no-touch .menu li:hover > ul {display:block;}               /*  Note the ".no-touch" !!! */
.iOS      .menu li:hover > ul {display:block;}               /*  Note the ".iOS"      !!! */

// Touch code based on:
//   http://www.prowebdesign.ro/how-to-deal-with-hover-on-touch-screen-devices/
//   http://snippets.webaware.com.au/snippets/make-css-drop-down-menus-work-on-touch-devices/
//   https://gist.github.com/webaware/3990308

wolfman2 Purchased

hI,

I have seen discussions about icons not working on a live site (even though they work when i’m testing it on my mac). I really don’t understand how i can get them to work. Have changed to .png in icons.css but still no luck.

Please can anyone help me.

Thanks very much

Default-user
wolfman2 Purchased

Sorry….have sorted this now. My fault…hadnt uploaded fonts folder….apologies. Theme is great thanks

Vasterad

I’m glad you solved that

mackmax Purchased

hI,

I bought theme yesterday but icons not working on a live site (even though they work when i’m testing it on my PC) after upload PHP server. I really don’t understand how i can get them to work.

Please HELP

Thanks very much

Default-user
mackmax Purchased

no,i mean icons not working if i upload webhost server just HTMLbut icons work when on my local PC ,i already sent you web address,did you receive?

Default-user
mackmax Purchased

i change png then solved thank you verymuckh

Vasterad

Ah, I didn’t read carefully your comment. Sorry. :D

Johny112 Purchased

Hey Vasterad,

i have a little Problem with the included Version of the LayerSlider (see http://codecanyon.net/item/layerslider-responsive-jquery-slider-plugin/922100/comments?page=75&filter=all#comment_7554090 for more informations). Can u help me? – I need the new Version of it to resolve the Problem.

Thank you very much.

Greetings Johny

Vasterad

Contact me trough profile page. I’ll send you an updated version

Default-user
Johny112 Purchased

Thank you, i recieved the updated version, but my efforts to update LayerSlider failed. The Slider won’t work. Is there an update of the Nevia Template possible? – Alternative a hotfix for the linkin problem (see Link in my first post).

Many thanks for your support!

Vasterad

Hi, unfortunately there’s no update right now.

RockitFX Purchased

Hello, I added the code to make tablet vertical view show the pull-down menu. How can I get it so the menu creates a parented menu, one that indents the sub-menus? Right now on the ipad it just shows a straight list.

Thanks, Adam

Default-user
RockitFX Purchased

Oh great! Thank you so much! Really a great template!

Vasterad

Thanks

guccino1 Purchased

Hi,

do you have sitemap format??? I can’t find it, thanks..

Stanley

Vasterad

Hi, there’s no sitemap page

Regarding the twitter feed, I have followed the instructions at http://vasterad.com/twitter/ and found out the step three is out of date: Step 3: Authorize your domain

Go to the @Anywhere domains page and add there your domain without “WWW” or “http” prefix e.g. vasterad.com

Please advise how to get my twitter api feed to work again. It did the first time but no longer works. I went through the dev.twitter process but it appears the website code is not working. Thank you.

Default-user

I did what another poster suggested. I added the letter “s” here in front of http ( ) on line 16 in twitter.php : Therefore: base_url’ => ‘https://api.twitter.com/1.1/'

Default-user

it works now.

Vasterad

Ok, I’m glad you solved that

mudhios Purchased

Hello,

I want to remove the mobile and tablet version. I read your reply on of the comments where I should remove the #Tablet (Portrait), #Mobile (Portrait), #Mobile (Landscape) parts from the responsive.css. I removed them already but still the website is showing in mobile version not desktop version. Please HELP URGENTLY.

Vasterad

Remove also media queries from style.css (at the bottom of file)

Hello Vasterad,

is use the wordpress version, but it seems the menu icons do not appear. I select them in the menu (menu Icon) but they do not show up. Background of the menu is grey, as standard, should I change the icon color?

Second, how do I get the social icons on top of my search bar in the header.

Thanks is advance

Default-user

Sorry, already solved it..

Vasterad

Ok, great

mackmax Purchased

Hello thank you

i got problem,  if put three lines  in  address of contact details in footer,then format not left-aligned?where can i revise this format ?
by
by
by
by
by
by