WordPress.org

Ready to get started?Download WordPress

Forums

Oenology
[resolved] Creating new header (2 posts)

  1. techstorm
    Member
    Posted 2 years ago #

    Hello Chris,
    Here is a list a things I would like to do on the site:
    1. I would like to remove the infobar and in its place just have My site title (indent format like the social icons) and the search menu.
    2. How can I remove the padding from the new infobar that I would have created, just leaving the text on the background?
    3. Removing the site Title from the header, leaving that 600 x 198 space free for widgets or background photo.

    Thanks for your support. Theme aside, I believe your response to queries warrants a donation, and I will be making a few soon. Your help has been greatly appreciated.

    http://www.thetechstorm.com

    [please don't use 'blockquote' to mark the code, but use the 'code' button - see http://codex.wordpress.org/Forum_Welcome#Posting_Code - or even better, use the http://pastebin.com/ - and there is actually no need to post any styles as these are accessible from the link to your site]

    /* Infobar Search
       --------------------
    */
    #postnavsearch {
    	float:right;
    	width:182px;
    	margin:0;
    	padding:0;
    	padding-right:3px;
    	padding-left: 3px;
    	text-align:right;
    }
    #postnavsearch #searchform {
    	margin:0;
    	padding:0;
    }
    #postnavsearch form label {
    	display:none;
    }
    #postnavsearch input {
    	margin-top:3px;
    	margin-bottom:3px;
    	font-size: 10pt;
    	font-weight: normal;
    }
    #postnavsearch #searchsubmit {
    	font-size: 10pt;
    	padding: 0;
    }
    #postnavsearch input#searchsubmit {
    	height:12px;
    	padding:0;
    	margin:0;
    }
    /* 
    
    #postnavsearch input#s {
      border: 1px solid #e0e0e0;
      border-top-color: #bbb;
      border-left-color: #bbb;
      color: #555;
      background-color: #ffffff;
    }
    #postnavsearch input#searchsubmit {
    	border: 1px solid #ddd;
    	background-color: #ffffff;
    }

    http://wordpress.org/extend/themes/oenology/

  2. Chip Bennett
    Theme Review Admin
    Theme Author

    Posted 1 year ago #

    Hi Techstorm, and sorry for the late response; this one fell through the cracks.

    For your first question: use a Child Theme and override the infobar.php template-part file, to remove/replace the infobar content.

    Your second question appears to be pure CSS, and would depend upon the specific markup for your replacement content.

    For your third question, to remove the site title, filter oenology_hook_site_header. For example, the following will return nothing instead of the site title/description:

    function oenology_child_filter_site_header( $site_header ) {
        __return_false();
    }
    add_filter( 'oenology_hook_site_header', 'oenology_child_filter_site_header' );

    Hope this helps!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags