Current Date in Header
Permalink Browser Info Environment
Hi,
I would like to remove the date in the header if possible, but have not been able to locate the proper file to edit at this point.
When the site is resized for mobile devices the date interferes with the navigation menu.
Suggestions?
Marvin
I would like to remove the date in the header if possible, but have not been able to locate the proper file to edit at this point.
When the site is resized for mobile devices the date interferes with the navigation menu.
Suggestions?
Marvin
Type: | Discussion |
---|---|
Status: | New |
Thanks for the reply and the solution.
You're welcome!
Is it okay to add another question here? Well, here goes. I have used the Slate theme and have edited the pagemeta.php to remove the sub-navigation/page names, but I don't see where to do the same thing in ViewPort.
The breadcrumbs are outputted in the header.php file (located at theme_viewport/themes/viewport/elements/header.php). The page names are outputted in each page type file (so for the Article page type it would be in article.php).
Or you could just not display it via css like this (you could add this snippet to the Custom CSS box in the Customize panel located at Dashboard->Pages and Themes->Click Customize button next to ViewPort):
#header-top p.right { display:none; }
Or if you just don't want it to display on mobile version, add that above snippet to the theme's mobile.css file (located at packages/theme_viewport/themes/viewport/mobile.css)