Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output from array and CSS #2

Open
Dedalos opened this issue Nov 30, 2014 · 0 comments
Open

Output from array and CSS #2

Dedalos opened this issue Nov 30, 2014 · 0 comments

Comments

@Dedalos
Copy link

Dedalos commented Nov 30, 2014

Hi, thank you very much for the plugin. It would be nice to have a method to extract the data of the array, I'm not a programmer and I dont know how to use the data of the array to produce a valid css rule for background.

In other hand, if is usefull for someone here there is some CSS for acf filed in admin area, to display better:

/Plugin Background Advanced RGBA ACF Pro/
.acf-field.field_type-background {
width:100%;
}
.acf-background-preview {
clear:both;
}
.rgbatext, #field_547b22cb15f88-clear, .minicolors {
display: inline-block;
text-decoration: none;
font-size: 13px;
line-height: 26px;
height: 28px;
margin: 0px;
padding: 0px 10px 1px;
cursor: pointer;
border-color: #ccc;
border-width: 1px;
border-style: solid;
border-radius: 3px;
white-space: nowrap;
box-sizing: border-box;
}
.acf-field_547b22cb15f88-repeat-select, .rey-select-item {display:block;}
.acf-background-subfield.acf-background-image {width:33%}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant