Tagged: grey bar
- This topic has 6 replies, 2 voices, and was last updated 8 years, 8 months ago by Theme Horse Support Team.
-
AuthorPosts
-
March 2, 2016 at 11:22 pm #43090TamaraParticipant
Hello,
I have a question about the light grey bar under the menu. My website is: http://www.tamarawitjes.com/testwebsite. This bar is shown on the Blog Template and the Contact Template, but I would also like to add the grey bar to the Standard Templates (portfolio, publications, shop, services).
Thanks and regards,
Tamara
March 3, 2016 at 10:58 am #43109Theme Horse Support TeamKeymasterHi Tamara,
Actually we have designed our theme in this way. If we add page title then the page title will appear in two place. So in default page we have removed the page title. If you want to have page title then it needs code customization. Create a child theme and then make a customization on it.
You need to add a child theme folder inside the theme folder (wp-content/themes/) and name that folder name to attitude-pro-child.Create 2 files.
style.css and functions.php
Under style.css file add below code/* Theme Name: Attitude Pro Child Theme Theme URI: https://www.themehorse.com/themes/attitude-pro Author: Theme Horse Author URI: https://www.themehorse.com Description: Attitude Pro is the Premium version of popular free theme Attitude. It is a clean, superflexible and responsive retina ready WordPress theme. Suitable for Business, Blogging, Portfolio, Photography and any type of sites. It comes with tons of options so you can modify layout, styling, colors and fonts directly from within the backend and create the Website that you want in no time. Version: 3.0.4 License: GNU General Public License, version 3 (GPLv3) License URI: http://www.gnu.org/licenses/gpl-3.0.txt Tags: white, light, blue, one-column, two-columns, three-columns, left-sidebar, right-sidebar, flexible-width, custom-menu, custom-background, custom-header, featured-images, full-width-template, theme-options, threaded-comments, translation-ready, sticky-post Text Domain: attitude Template: attitude-pro */ @import url("../attitude-pro/style.css"); .page .entry-title { display: none; }
and under functions.php file add below code
<?php if ( ! function_exists( 'attitude_header_title' ) ) : /** * Show the title in header * * @since Attitude Pro 1.0 */ function attitude_header_title() { if( is_archive() ) { $attitude_header_title = single_cat_title( '', FALSE ); } elseif( is_404() ) { $attitude_header_title = __( 'Page NOT Found', 'attitude' ); } elseif( is_search() ) { $attitude_header_title = __( 'Search Results', 'attitude' ); } elseif( is_page_template() ) { $attitude_header_title = get_the_title(); } else { $attitude_header_title = get_the_title(); } return $attitude_header_title; } endif; ?>
HOpe this may help you
Thank you!March 3, 2016 at 4:24 pm #43137TamaraParticipantIt worked! Thank you very much for your help 🙂
Regards,
Tamara
March 3, 2016 at 10:10 pm #43147TamaraParticipantHello,
I created the child theme and the site looks like it should. But when I try to open the customizer, I get the error message: server error 500. Do you have any advice how to fix this? Could it be because of the child theme I activated?
Thanks and regards,
Tamara
March 4, 2016 at 6:55 am #43151Theme Horse Support TeamKeymasterHi Tamara,
No, there may be other issues. Once you try deactivating the child theme and activate only the parent theme and check whether the same problem occurs or not. Creating the child theme must not occur the server error.
Thank you!
March 4, 2016 at 3:25 pm #43160TamaraParticipantThanks for your reply. The problem is solved, a plugin I installed was the cause of the problem.
Regards,
Tamara
March 8, 2016 at 5:49 am #43265Theme Horse Support TeamKeymasterThat’s great Tamara
Thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.