Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #607243

    Hi, I’m trying to place an asterisk above some category items, see

    I also have category items that don’t need this * above the item title, and I’m not sure how to do this. I was thinking of using ::before but couldn’t figure it out.

    Hope you can help!
    Thanks, Daniel

    #607399

    Hi Daniel,

    Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Thanks,
    Rikard

    #607427

    Hi Rikard,

    Thanks! I’ve put the details in the private section.

    #607638

    Hey!

    Seems like you figured it out as following? :)

    <center>*</center>

    Regards,
    Yigit

    #607640

    Hi Yigit,

    Unfortunately not. I tried to place some HTML in there but the line-height is not good and more important: the client won’t be able to work with this and the menu of the restaurant is changed often. That’s why I need a more solid solution :)

    Regards,
    Daniel

    #607646

    Hi Daniel!

    That would be the only way of adding asterisk on some items only, i am afraid. We cannot target them individually as they do not have some sort of post ID’s :/

    Best regards,
    Yigit

    #607685

    Hi Yigit!

    But we can target one catalogue right? With a custom class? In fact there’s one catalogue I need to use that uses the asterisk, the others don’t need it.

    Regards,
    Daniel

    #607693

    Hey!

    Oh i see. I thought you wanted to target certain elements in the list. Please turn on custom CSS field for ALB elements – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and edit your element and give it a custom CSS class and then add following code to Quick CSS in Enfold theme options under General Styling tab

    .your-custom-class .av-catalogue-title:before {
        content: '*';
        display: block;
        text-align: center;
    }

    Cheers!
    Yigit

    #607763

    That’s working like a charm, thanks!

    Cheers, Daniel

    #607848

    Hi guys,

    One more thing regarding the catalogue: they start with a dashed top border. How can I disable that?
    Found it!

    In shortcodes.css I found .av-catalogue-list{ border-top: 1px dashed; margin:0;} so I’m overwriting that.

    Regards, Daniel

    • This reply was modified 8 years, 7 months ago by Daniel.
    #607895

    Hi!

    You can add following code to Quick CSS as well

    .av-catalogue-list {border:none!important;}

    I am marking this thread as resolved. Feel free to start a new one if you have any other questions or issues :)

    Best regards,
    Yigit

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Catalogue: multiple lines in item title’ is closed to new replies.