This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Daniel Hefferan

Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Author
    Replies
  • in reply to: Transparent Header toggle to standard #24429
    Daniel Hefferan
    Participant

    Hey 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.

    in reply to: Transparent Header toggle to standard #24417
    Daniel Hefferan
    Participant

    I 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.

    in reply to: Transparent Header toggle to standard #24413
    Daniel Hefferan
    Participant

    Or… to potentially disable the toggle altogether?

    Daniel Hefferan
    Participant

    the 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/.
    in reply to: Make custom template default for new pages? #19627
    Daniel Hefferan
    Participant

    I 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.

    in reply to: Slider Constantly Scrolling #16615
    Daniel Hefferan
    Participant

    Ahh yes… that makes sense. We actually had a few sliders network activated, so we disabled those and things are working fine now. Thanks!

    Daniel Hefferan
    Participant

    That 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' );
    Daniel Hefferan
    Participant

    That is kinda what I was thinking… I’ll give that a shot. Thanks for the quick response!

Viewing 8 replies - 1 through 8 (of 8 total)