• Hi, due to the formatting (“\a” CSS element ) there’s a line break between description and days range.
    Here’s an image for clarification – https://paste.pics/33f78c33b8ecb3f9c9cfd38497e2c881
    Unfortunately I was not able to mitigate this effect through CSS, so I had to edit line 531 of wse_functions.php which is of course not the best method.

    Can you please advice how I can achieve the desired effect (estimation text shown in one line) without editing plugin files?
    Also maybe you should consider changing formatting.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter titsmaker

    (@titsmaker)

    Also I thought that editing text style via
    .woocommerce .woocommerce-shipping-methods label:after{***}
    can have some drawbacks as it lacks enough specificity to be sure that nothing else is affected.
    Although I am not great at CSS, so maybe I am wrong, please comment on this.

    Plugin Author RLDD

    (@rermis)

    The line break is intended as it increases readability and reduces interference with other elements. WooCommerce does not have a section set aside for delivery date estimates, nor does it expect them to populate. So non traditional methods were used to display the delivery estimate info inside the WC shipping method area as lightweight and cleanly as possible (without rewriting the native shipping method block)… hence the vagueness of the CSS rules.

    Thread Starter titsmaker

    (@titsmaker)

    Your response makes a lot of sense. I am sorry to bother you but if I still want to show the description and estimate in one line, can you advise something? I tried playing with CSS but haven’t found a way to eliminate line break.

    Plugin Author RLDD

    (@rermis)

    An option within the settings to include the estimate in one line as you have suggested will be available in a future release. I was not able to squeeze it in today.

    You are correct in that removing “\a” on line 532 will work temporarily.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Line break between description and range’ is closed to new replies.