Forum Replies Created
-
AuthorReplies
-
Daniel Hefferan
ParticipantHey Jason,
Thanks for your response. That helped a ton. I had been in my browsers inspector all day (part of the problem), and every-time I was looking for the right class, I was often down a little too far in the divs, and just couldn’t figure out the transparent-off piece. I was trying to finish up this project, and this was the last piece that just wouldn’t fall in place. I still can certainly improve with my inspector, but it’s not for lack of practice! I knew this was probably the case, but for some reason I was just missing the right selector.
Again, thanks for your help.
Daniel Hefferan
ParticipantI get all that… I have a ton of viewport related css already. But no matter what I throw in there, it doesn’t affect the transparent header.
In the framework css, I found this
/* Suck layout up into header */ @media (min-width: 768px) { body.tb-suck-up #container { position: relative; } body.tb-suck-up #container > #top { position: absolute; top: 0; right: 0; left: 0; z-index: 500; } body.tb-suck-up #container > #top > .site-header > .wrap { -webkit-transform: translateZ(0); transform: translateZ(0); /* Fix text flicker in Safari, when other CSS3 animations are happenning. z-indexed below */ } .site-header.transparent .logo-standard, .site-header.transparent .header-top .tb-social-icons { display: none; } .site-header.transparent .logo-trans, .site-header.transparent .header-top .social-trans { display: block; } }
I copied that over to my child theme css and changed the min-width to 0px – and still it swaps in the standard header for the transparent header.
-
This reply was modified 7 years, 2 months ago by
Daniel Hefferan.
Daniel Hefferan
ParticipantOr… to potentially disable the toggle altogether?
December 8, 2015 at 1:00 am in reply to: Conflict with the layout builder plugin and IDXbroker real estate plugin. #24369Daniel Hefferan
Participantthe dev console says this as I click the shortcode generator from within a page editor:
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
Daniel Hefferan
ParticipantI didn’t find anything on my original search… just thought I’d check to see if you had a quick solution. Thanks for the fast response.
Daniel Hefferan
ParticipantAhh yes… that makes sense. We actually had a few sliders network activated, so we disabled those and things are working fine now. Thanks!
March 19, 2014 at 4:06 pm in reply to: Hide "Clear" and "Restore Defaults" for editors (Theme Options) #15693Daniel Hefferan
ParticipantThat worked great. I set it up to only run if the user isn’t an admin, and that also allowed me to hide the content tab (which my non-admins don’t need). This cleaned everything up nicely for the end user, and also keeps them from clearing everything out. Thanks agian!
function yml_custom_admin_style() { if( ! current_user_can( 'edit_users' )) { wp_enqueue_style( 'my_admin_css', get_stylesheet_directory_uri() . '/css/yml-admin-style.css' ); } } add_action( 'admin_enqueue_scripts', 'yml_custom_admin_style' );
March 17, 2014 at 6:24 pm in reply to: Hide "Clear" and "Restore Defaults" for editors (Theme Options) #15629Daniel Hefferan
ParticipantThat is kinda what I was thinking… I’ll give that a shot. Thanks for the quick response!
-
This reply was modified 7 years, 2 months ago by
-
AuthorReplies