SelenaD

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 34 total)
  • Author
    Posts
  • in reply to: Home page slider displaying on other pages. #129903

    SelenaD
    Participant
    Post count: 36

    :-) Glad you found it!

    in reply to: Agency Pro Home Top Widget #129902

    SelenaD
    Participant
    Post count: 36

    Your a.button styling (line 459) has a float:left and padding: 6px declarations. Remove those and it will fix the button.

    in reply to: Blog Post Title The Incorrect Size! #129900

    SelenaD
    Participant
    Post count: 36

    Also, you should declare a fallback font so things will degrade gracefully if needed. At least add “serif” or sans-serif” to your declaration like this:

    font-family: “Amatic SC”, sans-serif;

    in reply to: Blog Post Title The Incorrect Size! #129898

    SelenaD
    Participant
    Post count: 36

    All of your font-family declarations end with a comma, not a semi-colon. That’s causing the font-size declaration to not be recognized. If you correct that it should fix your sizing issue.

    in reply to: Home page slider displaying on other pages. #129895

    SelenaD
    Participant
    Post count: 36

    Hi Grant – can you show us the code you are using to add the slider? Did you create a front-page.php file or are you dong it all from functions.php?

    • This reply was modified 1 day, 18 hours ago by  SelenaD.
    • This reply was modified 1 day, 18 hours ago by  SelenaD.
    in reply to: Default Featured Imaged depending on author #129894

    SelenaD
    Participant
    Post count: 36

    Thank you Brad – that did the trick!

    in reply to: Strange Problem – Sidebar Disappears to Bottom of Website #129740

    SelenaD
    Participant
    Post count: 36

    The max and min widths are optional, your site-container is going to create a maximum anyway. But they can be handy in cases where you want something smaller than the container. For instance, on a full width layout site I have content set at 800px using a percentage of the site width. However, on smaller screens I want it to fill the space, not start shrinking. So one way to do that is set width at 100% with a max-width of 800px.

    It’s a way to cut down on the number of media queries you need by making your content more fluid to start with.

    in reply to: Justify alignment of text in home-bottom area #129726

    SelenaD
    Participant
    Post count: 36

    I used Chrome Inspector – I’m not a huge fan of Firebug. The premise is the same, but I find Inspector easier to find things with.

    Also, as you do this more it becomes easier to know what you’re looking for! :-)

    in reply to: Strange Problem – Sidebar Disappears to Bottom of Website #129725

    SelenaD
    Participant
    Post count: 36

    When you make your width a hard number like “800px” then it is going to stay that even when the screen get smaller – so then your content starts getting cut off.

    Instead do your content and sidebar widths as a percentage, starting at your highest width. Let’s say you’ve set the site container width to be 1200 px, with the content 800px and the sidebar 300px.

    Set your content width at 66.666666666% (800/122) and your sidebar at 25% (300/1200). You can then use “max-width” or “min-width” to add upper and low limits. If you need the sidebar to remain a constant you can still use percentage for the content – but at some point they won’t both fit anymore.

    The theme is responsive – dropping the sidebar below content is what responsive themes do when there’s not enough room, and once you edit it you may break some of the responsiveness.

    A tool like responsivepx.com can help you find the spot where things are dropping so you can make changes or use media queries to deal with those points.

    in reply to: Justify alignment of text in home-bottom area #129722

    SelenaD
    Participant
    Post count: 36

    Line 886 .featured-content .entry-title – add “text-align: center;”

    Line 891 .featured-content .entry-content – add “text-align: justified;”

    If you want to center the “Learn More” also then on line 905 .featured-content .more-link – add “text-align: center;”

    I hope that helps!

    in reply to: Justify alignment of text in home-bottom area #129717

    SelenaD
    Participant
    Post count: 36

    Are you wanting to center the title text and justify the body text? In that case just use text-align: center on the title and text-align: justify on the body text.

    If I’m not understanding your question correctly please let me know.

    in reply to: Default Featured Imaged depending on author #129716

    SelenaD
    Participant
    Post count: 36

    I still only get the the picture of author id = 2.

    I tried this:

    $author_id=the_author_meta('ID');
    
    function default_image_fallback() {	
    	if(has_post_thumbnail()) {
    		the_post_thumbnail();
    		
    }	elseif($author_id = "2") {
    		echo '<img src="' . trailingslashit( get_stylesheet_directory_uri() ) . 'images/jon-thumb.jpg' . '" alt="Jonathan Warner" />';
    
    	
    }	elseif($author_id = "3") {
    		echo '<img src="' . trailingslashit( get_stylesheet_directory_uri() ) . 'images/sam-thumb.jpg' . '" alt="Samuel Warner" />';		
    }
    
    	else {
    		echo '<img src="' . trailingslashit( get_stylesheet_directory_uri() ) . 'images/default-thumb.jpg' . '" alt="Samuel and Jonathan Warner" />';
    }
    	
    }

    I also tried removing the second “elseif” and moving straight to the else statement. That didn’t work either – still got the first author’s picture each time.

    I tried defining the author id differently just in case that was the problem, but it isn’t. I’ve echoed the $author_id to make sure it’s pulling the correct id for each author and it is. :-(

    in reply to: Google's new call tracking and _googWcmGet function #123070

    SelenaD
    Participant
    Post count: 36

    No. I know I need a custom function in functions.php. But I still don’t know how to write it, or which example to use.

    in reply to: Google's new call tracking and _googWcmGet function #122978

    SelenaD
    Participant
    Post count: 36

    Thanks Brad – those are the directions I read on the Google site. What I need to know is how to incorporate that into my functions.php file?

    in reply to: Remove a note based on date #110563

    SelenaD
    Participant
    Post count: 36

    So I’m extremely ashamed to admit this, but you guys have been so helpful while I slept on the problem, that I have to confess. The original code I posted works – which uses the comments_open conditional tag. :-/ I was in the wrong client function file. And no matter how many times I changed the wrong functions file nothing was happening on the site in question. Hanging my head in shame.

    Thank you both for your efforts, and Brad, for telling me you had tested your code, because I might never have noticed otherwise. I knew it SHOULD work. Sorry to waste your time, but thanks as always for your help.

    LOVE you folks on Studiopress forums.

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