Support » Themes and Templates » [Resolved] Mantra theme design

[Resolved] Mantra theme design

  • this is my website –> oasis.pk
    Im using Mantra theme..

    I want to move the Search bar a little upward so that it can align with the top Menu . how can I do that ? 🙁

    and under the PAGES section , I want the pages to be displayed like they are displyed in this website http://www.cbr.gov.pk/

    so that a vertical menu is formed on the left hand side.
    at the moment only links of the pages are being displayed..I want to display a proper Menu, that if we hover on it, its sub pages also display ….
    plzz help me on this project of mine 🙁

Viewing 15 replies - 16 through 30 (of 50 total)
  • okay thanks…

    I have added the modified header.php in the mantra-child but it doesnt read it ,and reads the header.php which is in the parent theme :/

    Can you provide a link to your webpage? We may be able to determine whether your Child Theme is being loaded.


    Your Child Theme is not loading, have you activated it through the dashboard?

    oh..how do we activate it through the dashboard ? :/

    It should be in Appearance → Themes

    oh ..now I have activated it .but now my header image is gone 🙁

    You can grab a copy of the header.php file from your actual theme again, then paste it over your Child Theme header.php file (overwrite it).

    I copied the entire code..but still the same problem …
    here’s the code from the parent theme that im pasting into the child theme

     * The Header
     * Displays all of the <head> section and everything up till <div id="main">
     * @package Cryout Creations
     * @subpackage mantra
     * @since mantra 0.5
     ?><!DOCTYPE html >
    <html <?php language_attributes(); ?>>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo( 'charset' ); ?>" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <?php  	cryout_seo_hook(); ?>
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    	wp_head(); ?>
    <body <?php body_class(); ?>>
    <?php cryout_body_hook(); ?>
    <div id="wrapper" class="hfeed">
    <?php cryout_wrapper_hook(); ?>
    <header id="header">
    		<div id="masthead"> 
    			<div id="branding" role="banner" > 
    				<?php cryout_branding_hook();?>
    				<div style="clear:both;"></div>
    			</div><!-- #branding --> 
    			<nav id="access" role="navigation">
    				<?php cryout_access_hook();?>
    <?php $search_text = __( 'Search', 'mantra' ); ?>
    <form method="get" id="searchform"
    action="<?php echo home_url( '/' ); ?>/">
    <input type="text" value="<?php echo $search_text; ?>"
    name="s" id="s"
    onblur="if (this.value == '')
    {this.value = '<?php echo $search_text; ?>';}"
    onfocus="if (this.value == '<?php echo $search_text; ?>')
    {this.value = '';}" />
    <input type="submit" id="searchsubmit" value="OK" />
    			</nav><!-- #access -->
    		</div><!-- #masthead -->
    	<div style="clear:both;"> </div>
    </header><!-- #header -->
    <div id="main">
    	<div  id="forbottom" >
    		<?php cryout_forbottom_hook(); ?>
    		<div style="clear:both;"> </div> 
    		<?php cryout_breadcrumbs_hook();?>

    [In future, please wrap your code in one backtick at the start and one backtick at the end]

    I think its maybe because there’s an option in the theme that allows you to add the header and change its size :/ :S

    So, if you remove header.php from your Child Theme, the header image problem persists? If so, the issue is in your Child Theme stylesheet.

    yes it does

    but I copied the entire CSS from the parent stylesheet

    You shouldn’t need to do that, but instead use the CSS import function as exampled here http://codex.wordpress.org/Child_Themes#Example_of_a_basic_Child_Theme

    Otherwise you’ll be duplicating code and it’ll be harder to debug which CSS is causing the issue.

    I think the issue may be that you’ll need to copy the images folder (with images inside it) inside your Child Theme.

Viewing 15 replies - 16 through 30 (of 50 total)
  • The topic ‘[Resolved] Mantra theme design’ is closed to new replies.