• Hi, I can’t figure out how to add a background color across all the columns. Here’s what I’ve tried:

    [columns-container style=”background-color:#419498;”]
    [one-half-first] content
    [/one-half-first]
    [one-half] content [/one-half]
    [/columns-container]

    This is still leaving the background white.

    I’ve also tried adding the style=background color to the actual columns, which works, but then one side is always longer than the other. how can I get a block of color behind the whole thing??

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Nick Diego

    (@ndiego)

    Hi Krisal,

    That should work. I just took your code exactly and dropped it into a test site and it worked. Can you provide me with a like to your side where this error is occurring? I should be able to diagnose further.

    Best,
    Nick

    Thread Starter Kristal13

    (@kristal13)

    Thanks for trying to help. I added the code to this test page, and it still doesn’t seem to be working:
    https://kristalnorton.com/grab-a-badge/

    Plugin Author Nick Diego

    (@ndiego)

    Hi Kristal,

    Have you disabled the default styling for this plugin? It looks like it has been disabled. There is some custom styling for the columns container and I think this is the root cause of the issue.

    Let me know, thanks!

    Nick

    Thread Starter Kristal13

    (@kristal13)

    Hmm, if I did, I don’t remember and wouldn’t know where to look! lol Could it be my theme doing it? I’m using the Dynamik child theme.

    Plugin Author Nick Diego

    (@ndiego)

    Take a look at your functions.php file and see if you find this:

    add_filter( 'gca_load_column_styles', '__return_false' );

    Thread Starter Kristal13

    (@kristal13)

    Yup, it’s there!! What use does that code have? I don’t remember adding it, but must have for some reason.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Adding background color’ is closed to new replies.