WordPress.org

Ready to get started?Download WordPress

Forums

WP LinkedIn
[resolved] WP-Linkedin and responsive wp theme (14 posts)

  1. bezelinja
    Member
    Posted 1 year ago #

    Hey man,

    really great plugin. I got question - I'm using your plugin on my WordPress site to show linkedin recommendations in a footer widget section.

    It's all good and slider works great however I'm using responsive theme and I was wondering if there is a chance to get plugin to be responsive? I was trying to edit recommendations template and plugin itself but couldn't find which class is responsible for width of widget. I know that you can set width for plugin in widget section but you can't type auto there so plugin does support only given width and it is standing out if you go to low res with my responsive theme.

    Can you help very please?

    A

    http://wordpress.org/extend/plugins/wp-linkedin/

  2. Claude Vedovini
    Member
    Plugin Author

    Posted 1 year ago #

    I can make some kind of automatic width detection system but it won't be able to work in any circumstances. May be enough for you tho. Watch out for version 1.3.4

  3. bezelinja
    Member
    Posted 1 year ago #

    Hey man,

    that would be of great help. Even if you could set width for it twice once for desktop and once for max-width: 650px that would be great.

    Any clue on how to do that?

    Thanks

    A

  4. Claude Vedovini
    Member
    Plugin Author

    Posted 1 year ago #

    upgrade to version 1.3.4 and set 'auto' as the width for the recommendations

  5. bezelinja
    Member
    Posted 1 year ago #

    Thanks man. I installed it already and set width for auto. This is what I get - http://zelmandesign.com/keyslawoffice/ - have a look in left bottom corner. Is there anyway to fix it? Recommendations are not affecting responsive theme anymore but they are still standing out from design.

  6. Claude Vedovini
    Member
    Plugin Author

    Posted 1 year ago #

    did you modified the template?
    there's an h6 title in the middle of the blockquote (you can add that as the widget title)
    in the template try changing the "innerWith()" to "width()"

  7. bezelinja
    Member
    Posted 1 year ago #

    No I didn't modified the template. Just add title there so It won't mess with my css. I'll try that.

  8. bezelinja
    Member
    Posted 1 year ago #

    Ok. It worked for desktop version but if you are into for e.g. ipad resolution - widget shows twice - and then if you go into iphone res (width=320) and lower widget is not resizing with div but rather over floating right border.

    I just got around all of this by setting widget width to 280px in admin panel and this way design is fine to 320 width on phone. Below 320px widget is standing out a bit... but anyway it would be good to have it all responsive so I could start with widgets width of 460px as it was previously on my website.

  9. Claude Vedovini
    Member
    Plugin Author

    Posted 1 year ago #

    Like I said, this solution is not foolproof. If you find something that will work in any circumstances then let me know

  10. bezelinja
    Member
    Posted 1 year ago #

    Yep that's right. I don't know too much about php but it seems like if you set width to "x" it works. You will just need to set different width for lower resolution and it would be fine.

  11. kzemlak
    Member
    Posted 11 months ago #

    Hi Claude, For some reason, when I activate your LinkedIn plugin, it conflicts with my responsive Corpo theme and causes the front page "slider" not to work i.e. the slides don't transition, they just stay stuck on the first slide. You can see the slider in action, here: http://authendigity.com/. I've temporarily deactivated your plugin. Any ideas what could be causing the issue? Thanks

  12. Claude Vedovini
    Member
    Plugin Author

    Posted 11 months ago #

    @kzemiak You should try switching to the twentytwelve theme and deactivating all plugins but wp-linkedin. Normally it should be working like that. Then, switch back to your theme and reactivate all plugins one by one to find what's in conflict. Once you found out then let me know so I can check on my own install.

  13. Claude Vedovini
    Member
    Plugin Author

    Posted 11 months ago #

    @bezeljina Re-reading your posts I though that you might try this: customize the template for the recommendations and remove the javascript that resizes the blockquotes (you can just comment out line 29) then use CSS to set the width according to what you want depending on @media queries

    See this post for details about how to customize the templates: http://vedovini.net/2013/03/the-best-way-to-integrate-your-linkedin-profile-with-wordpress/

  14. bezelinja
    Member
    Posted 11 months ago #

    @Claude. Thanks man. That's a good idea. Will try it on my next project.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic