Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

weena

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    weena reacted to mantis in Wordpress one page website with anchor type pages   
    You basically need to bind to the scroll event like so :
    // Cache selectors var topMenu = $("#top-menu"), topMenuHeight = topMenu.outerHeight()+15, // All list items menuItems = topMenu.find("a"), // Anchors corresponding to menu items scrollItems = menuItems.map(function(){ var item = $($(this).attr("href")); if (item.length) { return item; } }); // Bind to scroll $(window).scroll(function(){ // Get container scroll position var fromTop = $(this).scrollTop()+topMenuHeight; // Get id of current scroll item var cur = scrollItems.map(function(){ if ($(this).offset().top < fromTop) return this; }); // Get the id of the current element cur = cur[cur.length-1]; var id = cur && cur.length ? cur[0].id : ""; // Set/remove active class menuItems .parent().removeClass("active") .end().filter("[href=#"+id+"]").parent().addClass("active"); });​ I found that here if you need to look further but it should work provided you style the "active" class like you would your .current_page_item
     
    I'm not sure I understand the second part of your question. Do all your links have the .current_page_item class then? Otherwise can you inspect it to find out where the blue highlight is coming from?
  2. Like
    weena reacted to teodora in Wordpress one page website with anchor type pages   
    jQuery waypoints is one way of doing it - maybe have a look at http://webdesign.tutsplus.com/articles/create-a-sticky-navigation-header-using-jquery-waypoints--webdesign-6408
    hth
  3. Like
    weena reacted to levan in Looking for a Web Designer   
    Hi everyone,
     
    I'm WordPress Theme developer. I'm looking for a designer for developing WordPress templates and selling them on ThemeForest together. If anyone is interested, let me know.
     
    E-mail: levangabeskiria@gmail.com
    Best Regards,
    Levan

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.