WPLake
Forum Replies Created
-
Hi @daliasued
My apologies I have added the page id (object-id) in the declaration of the class by mistake. In my CSS I am restricting the style to the ACF View with ID 865 (Your View).
Please use the following instead, pasted into the CSS code on the Advanced tab;
/* display view id 865 field values on 1 line */ .acf-view.acf-view--id--865 .acf-view__row { display: flex; } /* prepend 3 px padding before field */ .acf-view.acf-view--id--865 .acf-view__field { padding-left: 3px; }
Regarding the multiple values on a single line, you need to also paste the CSS code below to the CSS code in the Advanced tab
/* display all checkbox values on 1 line */ .acf-view__choice:not(:last-child)::after { content: ","; padding-right: 3px; }
The style above will only work if your ACF field “Títulos” is the Checkbox field type.
Hi @daliasued
Thank you for the kind words and for choosing ACF Views!
To display the field on the same line as the label, you could add some CSS.
/* display view id 865 field values on 1 line */ .acf-view.acf-view--id--865.acf-view--object-id--730 .acf-view__row { display: flex; } /* prepend 3 px padding before field */ .acf-view.acf-view--id--865.acf-view--object-id--730 .acf-view__field { padding-left: 3px; }
For multiple values on the same line, also solved by using CSS.
I’ve used the Checkbox field type for my example below. You’ll see that this will add a “,” comma and some padding after each value, excluding the last./* display all checkbox values on 1 line */ .acf-view__choice:not(:last-child)::after { content: ","; padding-right: 3px; }
Hi Wojciech
We’re excited to let you know that ACF Views Pro now supports the Group field type.
You can use it in a similar way to the Repeater field. Read more in our DocsHi Wojciech
Thanks for using ACF Views!We assume you’re talking about the ‘Group’ field type here (https://www.advancedcustomfields.com/resources/group/). It’s a complex field, and acts like the ‘repeater’ field. So e.g. unlike the ‘Tab’ field, it’ll not only change the layout for admins, but also data structure. So ‘sub-fields’ don’t exist on the ACF Group level, but within this field.
Our Pro version supports complex types, like Repeater. So you’ll need to choose the repeater field, and then ‘Sub Fields’ tab will appear, where you can choose the necessary sub fields.The ‘Group’ field type isn’t supported yet, but we’re going to release a new version in a few days, and we’ll include support for it.
- This reply was modified 1 year, 8 months ago by WPLake.
Hello,
Every View has the CSS code field (in the Advanced tab). You can add your styles there, and they’ll be loaded only on pages, where you’ve pasted the View’s shortcode. See our docs about the feature.
If you want to change the markup, to add your own classes, you’ll need the Custom Markup feature, which is part of the Pro version. See our docs about the feature.
We’ve checked on a new installation and the ACF View shortcode works within the Elementor shortcode widget.
Maybe it’s something related to your specific installation. E.g. your theme or third-party plugins listen to related shortcode widget hooks and trigger a fatal error during execution.
- This reply was modified 1 year, 8 months ago by WPLake.
By default, an ACF View displays selected ACF fields from the current page. It seems on the Elementor page you’ve no assigned fields or they are empty. If you want to display fields from another page, use the object-id argument of the shortcode to define the source page or post.
- This reply was modified 1 year, 8 months ago by WPLake.
Hi @wendellh
First of all, thank you for your report, and sorry for the delay in the reply.
The 1.8.0 version really contained the bug. We apologize for this issue.
It’s fixed in the next release (1.8.1 from 2023-01-16).
We’ve made conclusions and will do our best to avoid similar down the line. To show our gratitude for your report, we can offer you our Freelancer license for free. If you’re interested in it, please write to [email protected] from your email (*@harnessweb.com).
Thank you and all the best.