• Resolved crackedvesselcom1

    (@crackedvesselcom1)


    Hello! I would like to customize the alternating colors of the entries left in the guestbook. The ones currently coming up are of course appropriate to the theme but I’d like to pull different ones from the theme. Can yo tell me how/ where to alter the code to do this? Is it possible to use more than 2 alternating colors? Thanks for any help you can give me. Love the plug in!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Hi,
    You can use the plugin Simple Custom CSS and add any CSS that you like.
    You can use code like this:

    #gwolle_gb .gb-entry {
            color: purple;
            background-color: #e00; // (red)
    	border-top: 1px dotted #999;
    }

    Classes that are available are:
    <div class="gb-entry gb-entry_0 gb-entry-count_0 gwolle_gb_even gwolle_gb_uneven gwolle_gb_first admin-entry"></div>

    The gb-entry_0 is with the ID of the entry.
    The gb-entry-count_0 is a simple counter, just the first in the list on that page.

    Not sure what you want to do exactly. There is no triple thing like the dual even/uneven.
    If you have a bright idea about what you want, please let me know.

    • This reply was modified 7 years, 11 months ago by Marcel Pol.
    Thread Starter crackedvesselcom1

    (@crackedvesselcom1)

    Thank you!

    Thread Starter crackedvesselcom1

    (@crackedvesselcom1)

    resolved

    Thread Starter crackedvesselcom1

    (@crackedvesselcom1)

    Oops. I have to remove my resolved mark because… What I am actually looking to do is get rid of the WHITE part of the alternating color. This is great for changing the color of the other piece, but what I was hoping to do is use two colors from my theme, and my theme does not use white at all, it uses an off white/ivory which is very warm and makes the white really stand out as separate. I thought I could use this code to change both but it doesn’t work that way. Any thoughts?

    As far as the big idea goes, my logo features a series of worn children’s blocks spelling the word “vintage.” The colors I use on the site mimic the colors of the blocks. There are four different block colors. I thought I might like to play around with alternating those four colors instead of just 2, but it’s not imperative. I really would like to lose the white though.

    Thread Starter crackedvesselcom1

    (@crackedvesselcom1)

    OK, I’m sorry. I see now the “white” was coming from the fact that I had it checked to give admins “special styling.” I unchecked it and the white is gone. It just happened that every other comment was admin so it looked as if it was an every other comment pattern. So now I’m just looking to find a way to alternate the colors, i guess, and you may have already told me with that last line of what you wrote, and I may simply be too much of a novice to understand it.

    Plugin Author Marcel Pol

    (@mpol)

    Can you share the URL of your website? I can then see if I can make some ready-made CSS.

    Thread Starter crackedvesselcom1

    (@crackedvesselcom1)

    OH, you are awesome!

    the website is not public yet, but it’s available in a password protected form. It’s on a spare URL so it’s kind of a non-matching name.

    https://www.moveit4younow.com

    the password is CVV*3473. The guestbook is called “Say Something!” under “you” on the top pulldown menu.

    Thanks so much!
    Mary

    Plugin Author Marcel Pol

    (@mpol)

    If you like it busy you could add this to what you have changed now:

    #gwolle_gb .gb-entry {
        border-top: 2px solid #b50b0b;
        background-color: #faf0be;
        color: #b50b0b;
    }
    #gwolle_gb .gwolle_gb_uneven {
        background-color: #4ed091;
        border-top: 2px solid #b50b0b;
    }

    I would prefer just changing the border to solid:

    #gwolle_gb .gb-entry {
        border-top: 3px solid #4ed091;
        background-color: #faf0be;
        color: #b50b0b;
    }

    These are the colors your template uses, that you can see in the Inspector of your browser.
    blue: #152d47
    ivory: #faf0be
    mint: #4ed091
    red: #b50b0b

    I would find it hard to find a good color for the even/uneven. The red and blue is too heavy. The mint is already the background of the page. Just using ivory with a mint border should be fine.

    • This reply was modified 7 years, 11 months ago by Marcel Pol.
    Thread Starter crackedvesselcom1

    (@crackedvesselcom1)

    Thanks so much, I agree the border is much better! I appreciate your help.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Changing Colors’ is closed to new replies.