Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #196715

    The Font Resizer plugin allows for hard-coding the output within your theme with the following:
    <?php if(function_exists('fontResizer_place')) { fontResizer_place(); }?>
    I would like to add this snippet after the breadcrumb trail. I’ve tried numerous times to get this to work, but with no success. Can you please help?
    Thanks.

    #196856

    Hi smallwebsolutions!

    Please edit header.php, find this code at the very bottom:

    <?php } //end blank check ?>
    	<div id='main'>

    Below, add the font resizer code:

    <?php if(function_exists('fontResizer_place')) { fontResizer_place(); } ?>

    Go to Tools > Font Resizer > Basic Settings > check the ” Default setting, resize whole content in body tag (<body>All content of your site</body>) “.

    Best regards,
    Ismael

    #197027

    Thanks so much for the quick reply! This works to get the font resizer on the page, but how would I get it to appear just to the right of the breadcrumb trail? I’d prefer not to add more space/another div above the title/breadcrumb trail div.
    http://scullydisabilitylaw.com/what-we-do

    #197534

    Hey!

    I think it is better to put it on top of the breadcrumb because the breadcrumb’s width will differ according to the level of pages you’re in. Use this on Quick CSS:

    div.fontResizer {
    position: absolute;
    z-index: 20;
    right: 0;
    width: auto
    }
    
    .fontResizer p {
    float: left;
    }
    
    .fontResizer li {
    margin: 3px 0 0 0;
    }
    
    .breadcrumb.breadcrumbs.avia-breadcrumbs {
    top: 40px;
    }

    Regards,
    Ismael

    #222169

    Is it possbile to put the Font-Resizer behind the Search Item? I do not want to create an extra row for it….

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Add Font Resizer snippet after breadcrumb trail?’ is closed to new replies.