
內容簡介
如需支援請使用我們的專屬支援論壇。
完全掌控您的粘性標頭。 設置您的菜單,子菜單,次級菜單,搜索,您的顏色,背景或透明度,您的徽標等等!
在插件的管理區域中的頁面中僅預覽您的設置更改。 在您更改菜單位置,鏈接顏色,背景時,您可以立即看到它在您的網站上的外觀。
如果您需要整個頁眉的替換(包括粘性頁眉),包括頂部和底部頁眉部分以及更多菜單和面包屑,則可以購買PRO 版本稱為Awesome Header,或轉到Playground檢查它提供的常見功能的演示。
設置
DevCanyon's Awesome Sticky Header有很長的設置列表,您可以使用這些設置來使粘性標頭看起來您想要的那樣。
概況
這些是您粘性標頭的通用設置。
固定滾動位置-當滾動下多少像素時會顯示您的粘性標頭
標頭寬度-內部內容(容器)寬度,使您的標題標高100%的瀏覽器窗口寬度,但標誌和菜單與您的網站內容匹配
全寬度拉伸-您的標題是否將標高標高100%的瀏覽器窗口寬度
標題位置-如果您的主題沒有內容中心導向,例如Twenty Fourteen主題,則可以將標題放在左側/右側
展示說明-展示/隱藏網站說明(標語)
固定動畫-從頂部滑動或沒有滑動動畫顯示固定標頭
懸停過渡-用於鏈接懸停顏色或背景的過渡效果
如果您在外觀->菜單中有菜單項目說明,它也將顯示在粘性標頭中。
標頭
主要導航,子菜單,標誌,標語等的詳細設置。
選擇菜單-如果您在外觀->菜單下創建了至少一個菜單,則可以選擇哪個菜單將放到粘性標頭中
菜單深度-子菜單的三個導航級別
標誌圖像上傳-上傳要用作徽標的圖像
選擇徽標類型-標誌也可以是文本鏈接。如果是圖像,可以設置最大寬度
菜單內填充(上/下)-通過在主菜單項目頂部/底部設置填充來決定您的粘性標頭大小
徽標填充(上/下)-同上,但是在徽標/說明的頂部/底部增加了額外的空間
菜單位置-您可以使菜單居中;這樣標誌也將在菜單上方居中
菜單項目填充(左/右)-菜單項目的左/右距離-不要將它們放得太近!😉
背景圖像URL-為粘性標頭選擇背景圖像並/或設置重複圖案(例如,重複-x)
背景顏色-選擇背景實心顏色
網站標題顏色-如果將徽標設置為文本類型而不是圖像,則是您徽標的顏色
網站說明顏色-徽標下的描述文本的顏色(如果在通用設置中啟用)
菜單顏色-菜單項目的顏色
網站標題字體大小-如果徽標設置為文本類型而不是圖像,則為站點標題的字體大小
網站說明字體大小-用於描述文字的字體大小
外掛標籤
開發者團隊
② 後台搜尋「Awesome Sticky Header by DevCanyon」→ 直接安裝(推薦)
原文外掛簡介
For support requests please use our dedicated support forums.
Get maximum control over your sticky header. Set your menu, submenus, secondary menu, search, your colors, backgrounds or transparency, your logo and much more!
Live preview of your settings changes in plugin’s page in admin area. After you change menu position, link colors, backgrounds, you can see it immediately how will it look on your website.
If you need the whole header replacement including the sticky header, with Top and Bottom header parts and more menus and breadcrumbs, you can buy PRO version called Awesome Header or go to Playground to check out demos of what common features it offers.
Settings
Awesome Sticky Header by DevCanyon has long list of settings you can use to make your sticky header look the way you want.
General
These are general settings for your sticky header.
Sticky scroll position – when will your sticky header show, after how many pixels scrolled down
Header width – inner content (container) width, so your header stretches 100% of the browser window width, but logo and menus match your website’s content
Full width stretch – whether or not your header stretches 100% of the browser window width
Header position – your header can also be placed left/right if your theme hasn’t content middle oriented, just like Twenty Fourteen theme
Show description – show/hide site description (tagline)
Sticky animation – slide sticky header from top or appear without sliding animation
Hover transition – transition effect for link hover colors or backgrounds
In Appearance -> Menus if your menu item has description, it will be whown in sticky header too.
Header
Detailed settings for main navigation, sub-menus, logo, tagline, etc.
Choose menu – if you have created at least one menu under Appearance -> Menus, you can choose which menu will go to sticky header
Menu depth – three levels of navigation for sub-menu
Logo image upload – upload image to be used as your logo
Choose your logo type – logo can also be text link; if it’s image, you can set max. width for it
Menu padding (top/bottom) – decide how big is your sticky header by putting padding on top/bottom for main menu items
Logo padding (top/bottom) – same as above but top/bottom extra space for logo/description
Menu position – you can have menu centered; this way logo is centered too, above menu
Menu items padding (left/right) – left/right distance of menu items – don’t put them too close! 😉
Background image URL – choose background image for your sticky header and/or set repeat pattern (e.g. repeat-x)
Background color – choose background solid color
Site title color – color of your logo if it’s set as text type instead of image
Site description color – color for your description text under logo (if enabled in general settings)
Menu color – color for menu items
Site title font size – font size for your site title if it’s set as text type instead of image
Site description font size – font size for your description text under logo (if enabled in general settings)
Menu font size – font-size for menu items/sub-menu
Menu item hover background color – main menu item’s background color on hover effect
Top border – top border color of sticky header; you can set width in pixels for it
Bottom border – bottom border color of sticky header; you can set width in pixels for it
Hamburger icon color – this plugin has ability to hide your menu on small screens and show this icon – set color for it; when it’s clicked, menu is shown as drop-down
Hide menu if narrower than – decide at which screen width your menu hides (becomes responsive)
Include search box – at the end of menu you can have search icon which expands search form on hover
Include secondary menu – true or false; secondary menu is additional menu which is seen as last menu item, which on hover displays one more menu (and can show more, which is doable through filters)
Choose secondary menu – which menu goes as secondary
Sub-menu background color – background color for the whole sub-menu
Sub-menu item hover background color – hover color effect for sub-menu items
Sub-menu orientation – your sub-menu items can expand to left side too!
Custom CSS
Add your own styles, such as margins, paddings, borders, etc.
This is NOT custom CSS for the whole website, only for sticky header.
Extras
Some more featues will go in here!
Transparency level – background transparency for sticky header (value range is from 0 to 100); works only when solid background color is set as background color
Sub-menu transparency level – background transparency for sub-menu (value range is from 0 to 100)
Filters
If you are awesome developer, there is plenty of space to extend sticky header’s content:
asmh_middle_before – filter for content before sticky header’s content
asmh_middle_after – after sticky header’s content
asmh_nav_menu_item – single menu item
asmh_middle_header – filter whole header’s content
asmh_middle – filter header container’s content
asmh_middle_menu_before – before main menu
asmh_middle_menu_after – after main menu
asmh_middle_menu – replace menu with something else – whole menu filter
asmh_before_brand – add content before logo & tagline area
asmh_after_brand – after logo & tagline area
asmh_nav_collapse – hamburger icon filter – use your custom button for expanding responsive menu
asmh_brand – filter logo (site title text or image)
asmh_tagline – filter site description
asmh_secondary_menu_before – for secondary menu add content before secondary menu
asmh_secondary_menu – filter for secondary menu
asmh_secondary_menu_after – add content after secondary menu
