essaysnark

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 306 total)
  • Author
    Posts
  • in reply to: Genesis Hooks #105747

    essaysnark
    Participant
    Post count: 342

    You can either add a class to the image and define it in your stylesheet, or style the image with a div in your text widget, something like:

    <div style="padding-top:150px;"><img src="http://faga.co.za/wp-content/uploads/2014/05/FAGA-Sidebar.jpg" alt="home page image"></div>

    in reply to: Genesis Hooks #105626

    essaysnark
    Participant
    Post count: 342

    I think an easier way of doing what you want is to place your image in the sidebar itself using the Widgets screen. You can put the img tag into a text widget and style it from there or add a class to it. If you only want the image on the home screen then you can use a plugin like Widget Logic to specify which one(s).

    https://wordpress.org/plugins/widget-logic/

    in reply to: Genesis Hooks #105562

    essaysnark
    Participant
    Post count: 342

    The genesis_sidebar hook is associated with your sidebar div, so that’s where things will be positioned. If you want to position something in a different place, you probably need a different hook.

    Can you post a link to your site and describe exactly what you’re trying to do?

    in reply to: Moving code in functions to a plugin #105557

    essaysnark
    Participant
    Post count: 342

    This post might be a good place to start:

    http://designsbynickthegeek.com/tutorials/your-first-plugin

    in reply to: Center Image in Widget #105167

    essaysnark
    Participant
    Post count: 342

    So the problem is that the style you have defined on the textwidget class is taking precedence on all images that you place in any textwidget. What you might need to do is define a style for use on those little flower accent images and take the float: left off of the textwidget level. I tried playing with things like the !important tag on the book class that you have and couldn’t get it to work based on the current hierarchy. Sorry that I didn’t have an easy answer for you! I’m no CSS whiz so maybe someone else will pop in and see the solution.

    in reply to: Center Image in Widget #105166

    essaysnark
    Participant
    Post count: 342

    Sorry – wait – that’s going to mess up the other layout you’ve got with the little accent images. Let me look at this for a moment.

    in reply to: Center Image in Widget #105165

    essaysnark
    Participant
    Post count: 342

    Looks like you have a style defined like this:

    .textwidget img {
        float: left;
        margin-right: 5px;
    }

    That float: left is causing the problem. Delete that and you should be good.

    in reply to: Center Image in Widget #105160

    essaysnark
    Participant
    Post count: 342

    Assuming you’re talking about the book cover image and the “click to buy” Amazon link, you can just put this under the image:

    <br clear="all">

    For centering, you should be able to use this:

    <p style="text-align:center;"> Your text here. </p>

    Also there’s no “close image” tag – this is not actually valid HTML: </img> If you want to “close” the img tag you can put a /> at the end of it.

    in reply to: Looking to hire developer for small tasks #105157

    essaysnark
    Participant
    Post count: 342

    What’s your site? It would be helpful to see where you’re at with things.

    There’s some very nice free background textures here – including this page of gray ones: http://subtlepatterns.com/?s=gray

    in reply to: Page With Scripting, Best Practice? #104853

    essaysnark
    Participant
    Post count: 342

    Also to answer your original question: You can insert custom PHP code in any template file – before the genesis() function – here’s a simple tutorial that shows how (which happens to load some videos too):

    http://www.carriedils.com/custom-page-template-genesis/

    in reply to: Page With Scripting, Best Practice? #104852

    essaysnark
    Participant
    Post count: 342

    @bionary, what is the behavior that you want, exactly?

    In WordPress, you can just put the URL to a YouTube video directly in a post or page (using the text editor) and it’ll load the player right there, with no iframe or special coding required. It won’t start playing the video automatically when the page is loaded though. Is that what you are trying to do?

    in reply to: Home page Blog layout in Eleven40 Pro #104851

    essaysnark
    Participant
    Post count: 342

    @gwhite, in eleven 40 Pro, I’m pretty sure you can get a single column home page by just deleting the file home.php from your theme directory, provided you haven’t done any other home page specific customizations there. If you have, then you will need to delete the Genesis grid loop part of the code as Lauren suggested (leave the genesis() part though at the bottom).

    in reply to: Widgets emptying themselves after WP upgrade #104848

    essaysnark
    Participant
    Post count: 342

    That bug was supposedly fixed in 3.9.1 though there are some reports of similar issues still remaining when themes are being upgraded in conjunction with a WP upgrade.

    in reply to: Responsive slider display issue. #104845

    essaysnark
    Participant
    Post count: 342

    @Focused.1, it looks to me that when you uploaded the image http://redlineautomotivegroup.com/wp-content/uploads/2014/05/Staffed-automotive-sales-event-company.jpg which is 1,140px × 350px, it somehow got resized in WP to 428px × 181px and saved as http://redlineautomotivegroup.com/wp-content/uploads/2014/05/Staffed-automotive-sales-event-company-428×181.jpg. Try setting up the slider with the URL to the original image (or maybe re-upload if that’s easier).

    in reply to: Primary Sidebar on One-page only #104561

    essaysnark
    Participant
    Post count: 342

    This tutorial might also be helpful:

    http://dreamwhisperdesigns.com/genesis-tutorials/load-sidebar-specific-pages/

    It sounds like either your sidebar isn’t registered properly, and/or you haven’t placed anything in it in the Widgets area (some themes suppress the sidebar when it’s empty; not sure if the default Genesis theme does that or not).

Viewing 15 posts - 16 through 30 (of 306 total)