WordPress.org

Support

Support » Plugins and Hacks » Promotion Slider » [Resolved] [Plugin: Promotion Slider] edit excerpt text

[Resolved] [Plugin: Promotion Slider] edit excerpt text

Viewing 15 replies - 1 through 15 (of 15 total)
  • Hi – update.

    I actually figured out how to do some limited styling to the featured slider. But I now need some more options. I would like to display the Title again on the left. See URL again.

    pmndesign.com

    Please help! This requires some change to the php so might be a little more complex than the above.

    Plugin Author Micah Wood

    @woodent

    I took a look at your site and saw that you have the title showing again on the left. Do you still need some help with other aspects or have you figured it out?

    I’m sorry Micah – I meant to say I want the title on the right. I think I will actually include a screenshot of the mockup that I would like somehow, I will either email it or post a URL to it here.

    So it would give some visual hierarachy on the right along with the excerpt.

    So sorry for the confusion!

    Here’s a link to something similar – I want the title and excerpt on the right (except on the BBC site it’s on the left).

    I don’t want to remove the cool fancy title that the plugin already has from the left though.

    http://www.bbc.co.uk/

    Hello, do you think you could share how you got the excerpt to be on the right hand side and 40%. I like the example of the wine that shows the excerpt on the right hand side and not across the bottom.

    Thanks

    just making sure I get notified of responses.

    Plugin Author Micah Wood

    @woodent

    Marisqa,

    You can add the title within the excerpt container by making a small alteration to the code. Don’t actually alter the plugin, or you will lose your changes if you update the plugin in the future. You can add this to your theme’s functions.php file and it will work just fine:

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    Hi moregone!

    I believe this is all the css I modified, but I will not follow Micah’s advice and somehow put it in a custom file of some sort, in keeping with his recommendation to not modify the plugin.

    .promo_slider img { margin:0; padding:0; right:40%; max-width:60%; background:#fff;}
    .promo_slider .panel {background:#E7f0f7; /*background:url('images/slide.png');*/ display:none; float:left; overflow:hidden; width:100%; height:100%; }
    
    .promo_slider_excerpt {
    	display:block;
    	position:absolute;
    	right:0; bottom:0; left:60%;  height:70%;
    	color:#4F85CF;
    	font-size:14px;
    	line-height:22px;
    	margin: 50px 20px 30px 30px;
    
    }

    If this doesn’t work. please let me know and I’ll scour the css to see if there’s anything I missed – but I think this is all!

    I mean I will NOW follow Micah’s advice.

    Hi Micah,
    Thanks again for your reply.

    It’s so great to hear back!

    The code came through in the email – so I copied and pasted it. There were some errors, but I noticed some funny characters, that I think were lost in the translation when the code got emailed. Can you try sending again?

    Parse error: syntax error, unexpected T_FUNCTION .

    Plugin Author Micah Wood

    @woodent

    Sorry about that, apparently WordPress doesn’t let you know when you submit the comment that the code exceeds the max number of lines. Here is a link: http://pastebin.com/SachmVnS

    Fantastic – thanks much.

    it works – all that’s left is to style it like I want to. Thanks for the help! I never could have figured that out the way I was going yesterday. I’m resolving this.

    Marisqa, Congratulations, I am impressed what you did with the slider and will revisit this page for making alterations to my slider. ellepixal(Ruth)

    Hi Ellepixal – here is the link if you need a demo – it might move so I apologize if it’s down when you check it out, but I’ll try to keep it here for awhile.

    http://floridakeys.pmndesign.com/

    And many thanks to Micah the author of this awesome plugin.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Resolved] [Plugin: Promotion Slider] edit excerpt text’ is closed to new replies.
Skip to toolbar