Jump to content


Photo
- - - - -
Resolved

Column of images



  • Please log in to reply
12 replies to this topic

#1 scifi

scifi

    Advanced Member

  • Members
  • 44 posts

Posted 07 October 2012 - 06:33 PM

I'm trying to add a column of images with descriptive text into a sidebar that is easy to update (it's for an online newspaper)
Various boxes solutions take ages to update and are really set in stone.
Is there any advice on the best route to go with this?

#2 batman

batman

    Bat Learning

  • Members

  • 1743 posts
  • LocationBuenos Aires, Argentina
  • Framework Version:DMS
  • Country: Country Flag

Posted 07 October 2012 - 07:35 PM

Hi dannydog
One simple way is use a widget text (or more), you only need add HTML with text an image.
I use the post editor to do this and then I copy the HTML.

#3 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 07 October 2012 - 10:13 PM

Okay, try this outside-the-box solution if the images are the feature image/thumb for the post.
Install Special Recent Posts.

Please Login or Register to see this Hidden Content



This allows you to add a post loop, even a sidebar (as Batman suggest, in a text widget), with a shortcode. That shortcode allows you to customize what would appear in the sidebar. You can the style the size of the image, align it, and style the descriptive text.

If the images are not the thumbnails, then a gallery script may be your better solution.

#4 scifi

scifi

    Advanced Member

  • Members
  • 44 posts

Posted 10 October 2012 - 09:37 AM

i've installed 'recent special posts' which is a great plug-in but all my images keep getting scaled back in size. I'm not an expert - just wondering if there is some other element in the system which is over-riding it's instructions.

#5 Danny

Danny

    Is Awesome!

  • Moderators
  • 13021 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 10 October 2012 - 10:52 AM

Hi,

What size do you want the images to be ?

#6 scifi

scifi

    Advanced Member

  • Members
  • 44 posts

Posted 10 October 2012 - 01:39 PM

200px wide and maybe 113px high (video clip still)

#7 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 10 October 2012 - 10:00 PM

Okay, your SRP shortcode needs to reflect these sizes. There are SRP settings you can find in the WP page for the plugin that tell you how to do this.

Then, in Dashboard > PageLines > Site Options > Custom Code in CSS Rules, add this:

Please Login or Register to see this Hidden Content


Then, you'll find the image will appear at 200px wide and 113px high.

#8 scifi

scifi

    Advanced Member

  • Members
  • 44 posts

Posted 13 October 2012 - 06:34 PM

Thanks now works brilliantly - now trying to change the title font size which is too large. Do you have any ideas on this. Thanks

#9 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 13 October 2012 - 07:21 PM

If you use Firebug, you'll see that Special Recent Posts has a unique identifier for each component. Thus, with Firebug you can test the changes needed, then copy and paste to your custom code.

Please Login or Register to see this Hidden Content



#10 scifi

scifi

    Advanced Member

  • Members
  • 44 posts

Posted 23 October 2012 - 08:23 PM

Is there a way a just alter the text size without firebug?

#11 mackenzie

mackenzie

    Advocate

  • Members
  • 333 posts
  • Country: Country Flag

Posted 23 October 2012 - 10:29 PM

Unfortunately you will need to use CSS to alter the text in Special Recent Posts unless the developer has a way to do it without CSS but you would need to check their support.

#12 scifi

scifi

    Advanced Member

  • Members
  • 44 posts

Posted 28 October 2012 - 07:47 PM

Thanks for your help. Got it resolved (with CSS)

#13 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 28 October 2012 - 08:26 PM

The topic was marked as resolved.





Also tagged with one or more of these keywords: Resolved