-
AuthorPosts
-
February 13, 2014 at 6:13 am #223236
Is it possible? For instance, is there a way to make a fullwidth page that includes a section with three columns, and each column has a different background colour and you can add any other page element into that column as usual?
I’ve looked and can’t seem to find a way, hoping I’m just missing something simple.
Otherwise I really hope this is a feature at the top of the request list if its not currently possible!
Cheers
February 13, 2014 at 6:27 am #223238Hi!
It’s possible, you can use the Chrome Dev Tools to inspect the columns and get the classes of each specific element and apply the proper CSS code, take a look at this:
http://wptheming.com/2012/07/chrome-developer-tools-wordpress/If you need more assistance, please post a link to the Page where you have this layout.
Regards,
JosueFebruary 13, 2014 at 6:38 am #223245Cheers Josue, but won’t that affect each column that I use all over the site? I would love to have the flexibility to use different colours on different pages and break things up into coloured blocks/sections.
February 13, 2014 at 8:58 am #223272Hi!
Not necessary, you can prefix the CSS selector with this class:
.page-id-xxx .avia-el-4{ .. }
Change xxx by the ID of the Page.
Cheers!
JosueFebruary 13, 2014 at 9:14 am #223279Great, thanks for that I’ll take a look at it.
If this sort of functionality could be built into the visual composer it would HUGELY extend the layout capabilities of Enfold (which is already my favourite theme!).
Thanks for you help
February 13, 2014 at 7:37 pm #223601Hey!
It is already, take a look at this article:
http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/Regards,
JosueFebruary 14, 2014 at 7:59 am #223827Sweet, thanks Josue, I will have a play with that. Looks good.
Is there a reason you haven’t implemented this as a tick box option in the Enfold Admin e.g.: “Turn on Advanced CSS Field?” ?
That would be awesome and would simplify it for most people I would think.
Otherwise, will I need to re-add that line in functions.php every time there is a theme update?
Really appreciate your help with this.
Tim
February 14, 2014 at 8:23 am #223831Hey!
Probably because it would confuse some beginner users, and yes, you’d need to re-enter it if you update the theme. However you can use a Child theme to avoid that :)
Cheers!
JosueFebruary 14, 2014 at 8:25 am #223833Fair enough.
Perhaps if you put a “ADVANCED USERS ONLY” type comment next to it? Anyway, it has my vote to become part of the admin :)
Cheers, thanks again
February 14, 2014 at 9:48 am #223855Hey!
I will suggest it :)
Best regards,
Josue -
AuthorPosts
- The topic ‘Background Colours in Columns/blocks?’ is closed to new replies.