Tagged: catalogue
-
AuthorPosts
-
April 3, 2016 at 3:54 pm #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, DanielApril 4, 2016 at 7:04 am #607399Hi 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,
RikardApril 4, 2016 at 8:00 am #607427Hi Rikard,
Thanks! I’ve put the details in the private section.
April 4, 2016 at 2:53 pm #607638Hey!
Seems like you figured it out as following? :)
<center>*</center>
Regards,
YigitApril 4, 2016 at 2:55 pm #607640Hi 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,
DanielApril 4, 2016 at 3:00 pm #607646Hi 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,
YigitApril 4, 2016 at 3:43 pm #607685Hi 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,
DanielApril 4, 2016 at 3:58 pm #607693Hey!
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!
YigitApril 4, 2016 at 5:28 pm #607763That’s working like a charm, thanks!
Cheers, Daniel
April 4, 2016 at 8:48 pm #607848Hi 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.
April 4, 2016 at 9:51 pm #607895 -
AuthorPosts
- The topic ‘Catalogue: multiple lines in item title’ is closed to new replies.