Create WordPress template with name College & Corporate respectively.
Then add some code in your header.php
. Refer is_page_template()
. With this method WordPress will identify which template you are using and will apply CSS related to it.
You can use Default template for rest of the pages.
Related Posts:
- Add class active to static menu
- Add child pages automatically to nav menu
- How to move parent li to end of child ul
- Directing a page to a default subpage
- Can you have different menus and theme on a per-page basis?
- List children of second level sub page
- How to make pages metabox display all hierarchy in menu admin?
- Override custom menu widget
- Get parent page/menu id of current post
- When at / ( or “home”) my menu doesn’t get a current-menu-item class
- How to highlight the current page in the nav menu?
- How to change Twenty Seventeen theme’s navigation bar location?
- Making WordPress’ page and menus visible only for logged in users, checking session variables
- Different side menu on each page
- Add nav menu CSS class to body
- Remove Page Name From WordPress Menu
- Hiding Menu From Specific Pages
- Vertical Sidebar Menu Parent and Child not displaying correctly [closed]
- remove everything from wp_nav_menu
- Editing WordPress Nav Menu Walker
- Auto add pages to primary menu with functions.php
- Schedule Page to Menu [duplicate]
- Add CSS to head depending on nav menu walker
- Grey out nav buttons unless is_user_logged_in()
- Add a class at specific element in custom Menu Walker
- wp_list_pages() but only show children on the branch you are on
- Check if Page Already Exists in Menu
- wp_nav_menu not working [closed]
- Making nav menu sticky and transparent
- two different separate sections on the same site
- When clicking on menu item not going to specific page
- Static page to one page- menu inactive items highlighted
- CSS Classes (optional) on menu is not showing
- Displaying different page links on different pages
- How to style a specific nav menu item?
- wp_list_pages sort order by custom nav menu order
- How can I switch pages?
- Prevent menu from loading in a page template [duplicate]
- How Do I Add Images To Main Navigation Menu
- My Temptation theme is showing two of the same menu at the top. How do I remove the one that the theme comes with? Please help! [closed]
- How to change the color of a menu item [closed]
- WordPress + Bootstrap [closed]
- Three menus – parent / child / sibling
- Navigation menu not visible (contrast issue) on home page
- Disable parent in wp_list_pages – WordPress
- Full screen nav menu block with avada theme
- Hide pages from the main menu
- I can’t add more pages to menu – menu delete pages
- add_menu_page does not render the expected result
- Controlling sub-menu within sub-menu
- Main menu navigation links and new pages
- How to manipulate attributes of url-less dropdown item in a the custom wordpress menu?
- Using CSS ID’s and Classes with images in a WordPress Horizontal Menu
- How to show pages in menu without link
- Custom menu styling
- Styling issue with custom menus and sub menus
- Determining the “current_page” in WordPress Custom Menus
- Child pages don’t become submenus (as in the twenty-ten theme)?
- Secondary Menu Not Functioning as a Sticky Menu
- Add prefix to url, but products not showing in page SHOP
- Menu items not clickable
- How to get the Page Name of the current page?
- How to add CSS class to and and id in a nav menu with code?
- Change hover to onclick on menu
- Add/remove image from navigation bar
- How can I order these pages in this navigation bar on this old wordpress theme?
- How to create a mobile menu full screen overlay using Understraps Bootstrap 4 theme
- Disable Top Nav Bar on Mobile
- Adding span to a particular text in an menu item
- Unable to remove page from primary menu
- Get Sub-Menu Dropdown to Show Over Page Content
- Problem with positioning of the menu in custom WP style
- How can I make menu items into two seperate buttons with different functions?
- Responsive Dropdown Menu
- How to sort a sub-menu, generated with get_pages(), by the page order instead of alphabetically?
- Adding two same css class on menu item
- Two questions about CSSing inside the menus
- Always show wordpress submenu on responsive header menu
- jQuery not working when used with wordpress menu
- Theme: Twenty Thirteen Mobile Sliding Menu Doesn’t Bump Content Down
- Creating and populating custom nav menu (menu-item-position not working)
- How to make a page to not appear in the menu when created?
- Can’t style custom menu
- individual images as navigation design TwentyTen
- Specifying Class style for Menu
- Menu Underline shows without Hover after adding subitems
- Adding Pages to Menus – No Page Hierarchy in Backend [duplicate]
- Creating a Horizontal menu
- Any plugin to make a 3 levels menu? [closed]
- How to add or remove borders in navigation menu?
- wp nav menu – highlighting current page not working properly [closed]
- How can I make this process automatic?
- Keeping my Sub Menu open when hovering on its list items
- How to change first letter of active menu item
- Site navigation sits unstyled for a second on page reload [closed]
- How does WP knows which template to use for a page
- Problems with draft website pages
- how to add permalink/slug to wordpress custom link menu item
- How can I only show one responsive menu on mobile devices?
- Twenty-Twenty-Two Child Theme Mega Menu