CJWheels

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 37 total)
  • Author
    Posts
  • in reply to: Best way to truncate titles News Pro Theme #149522

    CJWheels
    Participant

    Well, I kind of rigged it to work. For the home-middle sections, I added this:

    .home-middle .featured-content .entry-title {
    height: 25px;
    overflow: hidden;
    }

    Not sure if it’s the right way to do it, but it got me where I needed to be. Curious to hear if anyone else would do it differently.

    C

    in reply to: Add an icon to navigation menu #148548

    CJWheels
    Participant

    Thanks Rob. I figured it out using this plug in: https://wordpress.org/plugins/menu-icons/

    You can see it here: http://celebrouhaha.com/

    Now the only thing I need to figure out is how to get the icons on top of the text instead of next to. Plug in offers before and after. Any thoughts on getting it above?

    Thanks
    Cyn

    in reply to: Shorten header area on Cafe Pro Theme #148049

    CJWheels
    Participant

    And…I got it. Remove this section:
    // Header Height
    var navHeight = $(‘.nav-primary’).outerHeight();
    var snavHeight = $(‘.nav-secondary’).outerHeight();
    var beforeheaderHeight = $(‘.before-header’).outerHeight();
    var windowHeight = $(window).height();
    var newHeight = windowHeight – navHeight – snavHeight – beforeheaderHeight;

    $(‘.front-page-header’) .css({‘height': newHeight +’px’});
    $(‘.image-section’) .css({‘height': windowHeight +’px’});

    $(window).resize(function(){

    var navHeight = $(‘.nav-primary’).outerHeight();
    var snavHeight = $(‘.nav-secondary’).outerHeight();
    var beforeheaderHeight = $(‘.before-header’).outerHeight();
    var windowHeight = $(window).height();
    var newHeight = windowHeight – navHeight – snavHeight – beforeheaderHeight;

    $(‘.front-page-header’) .css({‘height': newHeight +’px’});
    $(‘.image-section’) .css({‘height': windowHeight +’px’});

    });

    From the home.js in your js folder. Done.

    Cyn

    in reply to: Shorten header area on Cafe Pro Theme #148047

    CJWheels
    Participant

    Hey Jon, I tried that…did not work. I think it’s something in a js file, but I can’t figure out how to change it.

    Cyn

    in reply to: Collapsible Div Tags for Google Ads #147072

    CJWheels
    Participant

    I got this to work thanks to your help! I added the .setCollapseEmptyDiv(true); //Collapsible div–Collapse this slot before ad fetch to each seperate ad I wanted to collapse. Folds down perfectly now.

    <script type=’text/javascript’>
    var googletag = googletag || {};
    googletag.cmd = googletag.cmd || [];
    (function() {
    var gads = document.createElement(‘script’);
    gads.async = true;
    gads.type = ‘text/javascript';
    var useSSL = ‘https:’ == document.location.protocol;
    gads.src = (useSSL ? ‘https:’ : ‘http:’) +
    ‘//www.googletagservices.com/tag/js/gpt.js';
    var node = document.getElementsByTagName(‘script’)[0];
    node.parentNode.insertBefore(gads, node);
    })();
    </script>

    <script type=’text/javascript’>
    googletag.cmd.push(function() {
    googletag.defineSlot(‘/50217444/Momsnacks_160x600′, [160, 600], ‘div-gpt-ad-1427162132059-0′).addService(googletag.pubads());
    googletag.defineSlot(‘/50217444/Momsnacks_300x250′, [300, 250], ‘div-gpt-ad-1427162132059-1′).addService(googletag.pubads());
    googletag.defineSlot(‘/50217444/Momsnacks_300x250(mobile)’, [300, 250], ‘div-gpt-ad-1427162132059-2′).addService(googletag.pubads())
    .setCollapseEmptyDiv(true); //Collapsible div–Collapse this slot before ad fetch
    googletag.defineSlot(‘/50217444/Momsnacks_320x100(mobile)’, [320, 100], ‘div-gpt-ad-1427162132059-3′).addService(googletag.pubads())
    .setCollapseEmptyDiv(true); //Collapsible div–Collapse this slot before ad fetch
    googletag.defineSlot(‘/50217444/Momsnacks_320x50(mobile)’, [320, 50], ‘div-gpt-ad-1427162132059-4′).addService(googletag.pubads())
    .setCollapseEmptyDiv(true); //Collapsible div–Collapse this slot before ad fetch
    googletag.defineSlot(‘/50217444/MomSnacks_728x90′, [728, 90], ‘div-gpt-ad-1427162132059-5′).addService(googletag.pubads());
    googletag.pubads().enableSingleRequest();
    googletag.enableServices();
    });
    </script>

    You have to remember to remove the “;” after each ad set when you ad in the collapsible div tag code. That was my mistake.

    in reply to: Collapsible Div Tags for Google Ads #146917

    CJWheels
    Participant

    Hey Brad, thanks for the direction. Straight up, I think it’s something that falls on the Google end. I can’t figure out why they’d hand out mobile code that doesn’t take up space on desktops. They keep telling my client it’s a developer issue. I disagree.

    My client said, “Ask the smartest people you know.” So I came here ;)

    I’ll head over there. If I get a fix, I’ll post it here as well.

    Cynthia

    in reply to: Adding a background color to one page of Agency Pro theme #128778

    CJWheels
    Participant

    Still not working:

    http://nwdesignsit.com/shop/

    C


    CJWheels
    Participant

    Nope. In the past, I was able to choose Navigation Extras from my Genesis theme settings. Why do I not have that option on this install? Is there a way to get it back?


    CJWheels
    Participant

    If you just keep on digging, you get to the bottom of it. Here’s what I did for anyone else who comes across this:

    Removing the following lines from “centric-pro/js/home.js” will stop if from resizing so you’ll be able to set the wrapper size in the theme:

    $(‘.home-featured .wrap’) .css({‘height': (($(window).height()))+’px’});
    $(window).resize(function(){
    $(‘.home-featured .wrap’) .css({‘height': (($(window).height()))+’px’});

    Then I added this to the .home-featured .wrap

    height: 640px;

    There ya go ;)


    CJWheels
    Participant

    I could not figure out why the client kept asking me to tighten up the .home-featured .home-widgets-1

    FINALLY went to screen fly: http://quirktools.com/screenfly and checked out the site on 24″ monitor (which is what she is on)

    Why does the padding expand considerably when you jump to the 23 or 24″ monitor?

    Is that padding variable to size? I feel stupid even asking that. What am I missing?


    CJWheels
    Participant

    Thank you SO much! That did the trick: http://momsmack.com/

    Is there any good resource for the new hooks?

    Cynthia


    CJWheels
    Participant

    FWIW, I figured out the issue. I had added a border bottom to the .site-header

    When I took it out, that fixed the Safari issue. Not sure why this is the case, but there it is if anyone else has this problem.

    :)

    in reply to: Photo Thumbnail grid for category archives page #108780

    CJWheels
    Participant

    OMG…super easy fix!

    .footer-widgets .archive, .footer-widgets .post {
    display: inline;
    padding: 2%;
    width: 100%;
    }

    And we’re done! http://creating.howtorockyourblog.com/uncategorized/

    in reply to: Photo Thumbnail grid for category archives page #108778

    CJWheels
    Participant

    I found this: http://wpsites.net/web-design/archive-page-grid-style-columns-using-css/

    Which I love the idea of just doing this with CSS.

    I have it now on the site, but it’s affecting the footer, which is using the feature posts widget.

    I tried doing this:

    .footer-widgets .archive .post {
    display: inline-block;
    padding: 2%;
    width: 100%;
    }

    but it didn’t work. Thoughts on correcting the footer?

    in reply to: Photo Thumbnail grid for category archives page #108775

    CJWheels
    Participant

    I’m comfortable using the php and css. I just want all category archives to show as a photo grid, while still inheriting the sidebar and not affecting the footer. Can’t find the right tutorial that does that.

Viewing 15 posts - 1 through 15 (of 37 total)