Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author alordiel

    (@alordiel)

    Hi Hugh,

    Can you please post your website address with the page where you are using the DMS so i can have a look at it and suggest some sort of css solution.

    Regards,
    Alex

    Thread Starter hughb101

    (@hughb101)

    Thanks Alex.

    See – https://test.pigmentinc.com/test/

    I put [dms] in the body.
    I put <?php echo do_shortcode(‘[dms]’); ?> in the header php – see the top left.

    I might be able to fix the alignment if I don’t have to put in a label (and add my own) but the plugin demands it. Can I get around this?

    thanks,

    Hugh

    Plugin Author alordiel

    (@alordiel)

    Ok, here we go : )

    First open the plug-in in editing mode and open the style.css file. Below are some code you can add at the end of the css file. Save it and the changes should be applied.

    HEADER label

    For making the label the same line as the select option:

    .header-social .dms-container { width:100% }
    .header-social  select.dms-select { float: left;}
    .header-social .dms-container label { float: left; padding-right: 20px;}

    This is to hide the label at all:

    .header-social .dms-container label { display: none !important; }

    FOOTER label

    This is to make the label at the same level as the select option:

    h2 .dms-container label { float: left; padding-right: 20px; }

    This is to hide the label at all:

    h2 .dms-container label { display: none !important; }

    Please let me know how the things are going there.

    Regards,
    Al

    Thread Starter hughb101

    (@hughb101)

    Wonderful, this worked perfectly.

    In my case I added it to the CSS customization code of the theme I am using and it worked fine.

    ‘.header-social .dms-container { width:100%!important; }
    .header-social select.dms-select { float: left!important;}
    .header-social .dms-container label { float: left!important; padding-right: 10px!important;}’

    I can work around it, but do you have any suggestions for autoloading the dropdown with a particular item (perhaps by index)?

    thanks again, excellent plugin.

    Hugh

    Plugin Author alordiel

    (@alordiel)

    Hi Hugh,

    Happy to help ?? and Yes, I was thinking of you theme style.css but saying the plug-in one : ) Good that you have figure it out.

    I don’t get the idea of autoloading, can you please give me an example of how you see the thing should work so I can think of some programmatic solution : )

    Regads, and thanks for tht nice feed : )

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘formatting the label, autoloading the dropdown’ is closed to new replies.