Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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

    #223238

    Hi!

    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,
    Josue

    #223245

    Cheers 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.

    #223272

    Hi!

    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!
    Josue

    #223279

    Great, 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

    #223601

    Hey!

    It is already, take a look at this article:
    http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/

    Regards,
    Josue

    #223827

    Sweet, 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

    #223831

    Hey!

    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!
    Josue

    #223833

    Fair 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

    #223855

    Hey!

    I will suggest it :)

    Best regards,
    Josue

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Background Colours in Columns/blocks?’ is closed to new replies.