• Resolved sndinc

    (@sndinc)


    This seems like it should be simple but I am struggling. I would like the Beer Title and Beer Style to be on different lines. Currently, I am getting BEER(STYLE). It seems rather long. I tried to edit the embm-output.php file and didn’t have much luck.

        // Beer style
        if (EMBM_Core_Beer_style($beer_id)) {
            $link_title = sprintf(__('View all %s beers', 'embm'), EMBM_Core_Beer_style($beer_id));
    
            $output .= '<br><span class="embm-beer--header-style">(';

    I tried closing the h1 tag and tried adding the br tag on the last line. Any help would be appreciated. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @sndinc,

    It’s not a good idea to change the output of the plugin; my opinion. What could happen on the next upgrade of the plugin?

    You can add this (your CSS):

    span.embm-beer--header-style {
        display:inline;
    }
    span.embm-beer--header-style:before {
        content:"\a";
        white-space: pre;
    }

    Testing

    *Sorry about my english ??

    Thread Starter sndinc

    (@sndinc)

    Awesome… that worked. Thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘BR between Beer Title and Beer Style’ is closed to new replies.