Jump to content
Sign in to follow this  
studio8c

Custom header image and h1.site-title, h6.site-description

Recommended Posts

studio8c

HI, When i upload a custom header PP is putting h1.site-title, h6.site-description {display: none;} is there a way to display it again i tried to use block and inline h1.site-title, h6.site-description {display: inline; position: absolute; z-index: 1; }

Share this post


Link to post
Share on other sites
timlinson

try using `!important` to override

Share this post


Link to post
Share on other sites
cshoffmann

May also try a higher z-index value than 1

Share this post


Link to post
Share on other sites
studio8c

body{} h1.site-title, h6.site-description {display: block !important; position: resative !important; zoom: 1; z-index: 10 !important; } #branding .branding_wrap { position: relative; zoom: 0; z-index: 0 !important; } This is the last thing i tried.

Share this post


Link to post
Share on other sites
studio8c

body{} h1.site-title, h6.site-description {display: block !important; position: resative !important; z-index: 10 !important; } #branding .branding_wrap { position: relative; zoom: 0; z-index: 0 !important; } This is the last thing i tried.

Share this post


Link to post
Share on other sites
studio8c

also tried that, PP disables the h1.site-title, h6.site-description iwth a hook or so because i can't find him also with the . firebuge tool Otherwise I will incorporate the title and disction into the image but that shoot be my last option

Share this post


Link to post
Share on other sites
studio8c

This the last think i tried for now, #branding a.site-title {display:block; position: relative !important; z-index: 200 !important;} #branding a.h1.site-title {display: block !important; position: relative !important; z-index: 100 !important;} #branding .branding_wrap { position: relative; zoom: 0; z-index: 0 !important;} #branding .content-pad { padding: 0px 0px 0px 0px;}

Share this post


Link to post
Share on other sites
cmunns

I would consider using a filter instead. Add this to your functions.php file. ` add_filter('pagelines_site_logo','my_header'); function my_header($header){ $header = sprintf( '%s', home_url(), get_bloginfo('name'), esc_url(pagelines_option('pagelines_custom_logo')), get_bloginfo('name')); $header .= sprintf( '

%s
%s
', esc_url(home_url()), __('Home','pagelines'), get_bloginfo('name'), get_bloginfo('description')); return $header; } `

Share this post


Link to post
Share on other sites
studio8c

Cool thanks Adam, Now i'm only have to place it on top of class="mainlogo-img" i will play around with it Thanks

Share this post


Link to post
Share on other sites
studio8c

Adam, is there a way to put the title-container on front of the cutom logo Cheers Dennis

Share this post


Link to post
Share on other sites
Kate

Hi Dennis, Do you mean layered, basically? If so, then you can do that with CSS. Or am I misunderstanding?

Share this post


Link to post
Share on other sites
studio8c

HI Kate, Yes layerd based, i tried it but with out succes. i don't get the layers done. Cheers Dennis

Share this post


Link to post
Share on other sites
cmunns

Sure. just float it. `.mainlogo-img {float:left;}`

Share this post


Link to post
Share on other sites
studio8c

of course float Thanks Adam

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×