• Resolved pflefler

    (@pflefler)


    Love the plugin – relatively new user.

    I am trying to adjust some of the description settings–assume that I need to use customized CSS to do so–to align top of text with top (custom-sized 200x133px) of thumbnail and create left padding to the description text. See link.

    Many thanks in advance.

    – Pat

    https://ww.wp.xz.cn/plugins/document-gallery/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Dan Rossiter

    (@danrossiter)

    Hi Pat,

    You probably want something along these lines.

    .descriptions > .document-icon {
    	margin-top: none !important;
    	margin-right: 15px !important; /* pick whatever you like for this number */
    }

    -Dan

    Thread Starter pflefler

    (@pflefler)

    Thanks Dan – that works for the padding between the thumbnail and description. I’m still seeing the description top set higher than the thumbnail top. Anyway quick way to resolve that?

    Many thanks for your quick response earlier.

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi pflefler,

    Your HTML has an extra <br> tag. I presume you’re using PHP filters to change the DG output? If so, you’ll want to remove that BR. Once that’s done, the two top of the image should align with the description.

    -Dan

    Thread Starter pflefler

    (@pflefler)

    Works perfect. Many thanks for your assistance.

    Thread Starter pflefler

    (@pflefler)

    Resolved.

    Plugin Author Dan Rossiter

    (@danrossiter)

    Glad to be of service! 🙂

    PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Description padding and alignment’ is closed to new replies.