• Resolved timfernandes

    (@timfernandes)


    Hello There! Your plugin works perfectly, I am just wondering how to center the group of albums in a page.

    I have tried creating a <div> in the page and putting the shortcode inside (with text-align:center) but the images show up all cropped in weird rectangles and with big horizontal spaces between them.

    Any help will be much appreciated.

    http://wordpress.org/extend/plugins/lastfm-records/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter timfernandes

    (@timfernandes)

    Well just improved it a bit, still not 100% centered yet.

    I edited lastfm-records/last.fm.records.js in the following way:

    _css += _elemname + ' ol, ' + _elemname + ' li { margin: 0; padding: 0; list-style: none; text-align:center;} ';

    –> inserted text-align:center

    and set overflow:visible to _css += _elemname + ' a

    Now the albums are centered, but there seems to be an indentation that moves the whole thing a bit to the right…

    Plugin Author jeroensmeets

    (@jeroensmeets)

    Hi Tim, it’s hard to answer these questions, as usually it’s caused by css added by the theme you use.

    I’m working on new css for the next version of the plugin.

    Thread Starter timfernandes

    (@timfernandes)

    Yes, I just noticed that fooling around with the plugin CSS had some effect on the main menu CSS (which is very weird, since they have different CSS selectors).

    Anyway, thank you for the reply. Looking forward to the new version!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Centering Album Images’ is closed to new replies.