• Resolved pherchristoph

    (@pherchristoph)


    Hello,

    I need some “vertical-align: super;” letters inside the shown description. But there are none codes working inside the shown description of a fooditem.

    What could I do?

Viewing 8 replies - 1 through 8 (of 8 total)
  • bibhuprakash123

    (@bibhuprakash123)

    Hello @pherchristoph,

    In our current version of RestroPress if you want to add some image with your description content and want to use “vertical-align: super;” css then the image will reflect only on the popup.
    Hope you will get it.

    Let us know if anything else want to know about RestroPress.

    Regards,
    Bibhu

    Thread Starter pherchristoph

    (@pherchristoph)

    Thank you Bibhu,

    but it’s not needed for the Food Popup – there my code is working. Its the shown description at the food list.

    You can see a screenshot of List and Popup here:
    Screenshot

    Hope there is a solutions to get it work

    bibhuprakash123

    (@bibhuprakash123)

    Hello @pherchristoph,

    Can you please share the particular page URL for which I can able to review the particular thing that you have done?

    Regards,
    Bibhu

    Thread Starter pherchristoph

    (@pherchristoph)

    Sure – its just a prebuild, so you have to click on “take away” for the plugin

    take away

    Hello @pherchristoph,

    For your required thing, you need to do small code customization.
    Am providing you the simple way which will give permission to apply the HTML tags for description but you need to take care of the css if there is any layout break because according to our plugin layout we prevent the direct HTML tags directly from the description content text editor, specifically the layout will break if you are using any img tag, so make sure to not use any img tag for description.

    Here the code file location:
    wp-content\plugins\restropress\templates\fooditem\content-title.php line no- 14
    <?php echo apply_filters( 'rpress_fooditems_excerpt', get_post_field( 'post_content', get_the_ID() ), $excerpt_length ); ?>

    Hope this will helpful to you.
    Let us know if anything else want to know about RestroPress.

    Regards,
    Bibhu

    Thread Starter pherchristoph

    (@pherchristoph)

    Thank you! That is exactly what I needed ??

    That’s my pleasure.
    If you are enjoying our plugin, give a nice review to us.

    Regards,
    Bibhu

    Thread Starter pherchristoph

    (@pherchristoph)

    Allright it’s the same problem again with the fooditem addons. Is it also possible to get code in there?

    Regards

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fooditem description code’ is closed to new replies.