Hi,
How can I remove the top menu black bar? I want to start page from white background and don't want use top menu.
And how can I remove titles on pages? Ex. http://www.kalibracje.com/kontakt/
Hi,
How can I remove the top menu black bar? I want to start page from white background and don't want use top menu.
And how can I remove titles on pages? Ex. http://www.kalibracje.com/kontakt/
Hi suderDesign,
Try adding this code at the bottom of your custom.css:
#header .submenu {
display: none; /* removes the top black bar */
}
.page .post-title {
display: none; /* removes the page title */
}
Hope this helps.
Regards,
Ismael
1) In header.php search & delete following code:
<div class='submenu'>
<div class='container'>
<?php
/*
* display the main navigation menu
* modify the output in your wordpress admin backend at appearance->menus
*/
$args = array('theme_location'=>'avia2', 'fallback_cb' => '');
wp_nav_menu($args);
?>
<ul class="social_bookmarks">
<?php
do_action('avia_add_social_icon','header');
//text snuippet (eg phone number)
if($phone = avia_get_option('phone_snippet')) echo "<li class='phone'>".$phone."</li>";
//contact icon
$contact_page_id = avia_get_option('email_page');
if (function_exists('icl_object_id')) $contact_page_id = icl_object_id($contact_page_id, 'page', true); //wpml prepared
if($contact_page_id) echo "<li class='mail'><a href='".get_permalink($contact_page_id)."'>".__('Send us Mail', 'avia_framework')."</a></li>";
if($twitter = avia_get_option('twitter')) echo "<li class='twitter'><a href='http://twitter.com/".$twitter."'>".__('Follow us on Twitter', 'avia_framework')."</a></li>";
if($facebook = avia_get_option('facebook')) echo "<li class='facebook'><a href='".$facebook."'>".__('Join our Facebook Group', 'avia_framework')."</a></li>";
?>
<li class='rss'><a href="<?php avia_option('feedburner',get_bloginfo('rss2_url')); ?>"><?php _e('Subscribe to our RSS Feed', 'avia_framework')?></a></li>
<li class='search_site'><a href="#"><?php _e('Search Site', 'avia_framework')?></a>
<?php
/*
* display the theme search form
* the tempalte file that is called is searchform.php in case you want to edit it
*/
get_search_form();
?>
</li>
</ul>
<!-- end social_bookmarks-->
</div>
</div>
2) You can hide the page title with following css code - add it to css/custom.css or into the quick css field:
#top .post-title{
display: none !important;
}Many thanks guys. Great support as always!
Please let me know how can I remove also "Archive for category: aktualności" on blog http://www.kalibracje.com/szkola/
sorry, I gave you a bad link. Of course http://www.kalibracje.com/category/aktualnosci/
And how can I make blog archive as full width?
Hi!
In archive.php replace:
get_header();
with:
get_header();
$avia_config['layout'] = 'fullwidth';
and add following code into the quick css field:
#top.archive .fullwidth .template-blog.content {
width: 100%;
}
#top.archive .template-blog .entry-content {
width: 770px;
}
Regards,
Peter
Hey Dude, it doesn't working. http://www.kalibracje.com/category/aktualnosci/
Hi!
I corrected the instructions above.
Best regards,
Peter
Many thanks Peter.
I asked also about how can I remove "Archive for category: aktualności"? :)
Hey!
You can hide it with following code:
#top.archive .firstheading {
display: none !important;
}
Regards,
Peter
You must log in to post.