WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Please help me edit style.css (8 posts)

  1. simbaman64
    Member
    Posted 10 months ago #

    In short, I added "<?php do_action('icl_language_selector'); ?>" to my header, and now I want to edit the way it looks. I have no idea what I am doing, and tried editing style.css for hours, but have had no luck.
    I would love to be able to change the colors and margin (or some way of shifting it to be centered). Any ideas?

    Site: http://temp.tulipbags.com/ You can see my problem in the top right corner

    Thank you for reading, and I hope someone can assist!!

  2. simbaman64
    Member
    Posted 10 months ago #

    Please, anyone. I've been trying everything to no avail...

  3. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

    Have you asked the developer of your commercial theme for help with this?

    A browser tool like Firebug should help you work with CSS - try:

    #lang_sel_list {
        padding-top: 12px;
     }
    
    #lang_sel_list ul a, #lang_sel_list_list ul a:visited {
        background-color: pink !important;
    }
  4. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

    Also, if you are modifying theme files, your changes will be lost when the theme is updated. You should be making changes using a child theme - http://codex.wordpress.org/Child_Themes

  5. simbaman64
    Member
    Posted 10 months ago #

    You are my css guardian angel Ms.WPYogi.
    Check it out now, it looks great, thanks to you.

    One last followup question. Any idea as to why the top bar gets a little longer when I add this to my child theme (which I did according to your advice). I tried editing padding-bottom, but it didn't help. Any ideas??

    And thanks again

  6. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

    Try adding:

    #lang_sel_list {
        height: auto;
    }
  7. simbaman64
    Member
    Posted 10 months ago #

    I love you. I cannot tell you how much stress and time you have saved me.
    I know I barely know you, but I can tell you are an amazing person. A giver, who asks for nothing in return. An amazing, kindred spirit. A beautiful, caring person.
    Thank you.

  8. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

    LOL - well thank you for your kind words. A little CSS goes a long way sometimes :)!

Reply

You must log in to post.

About this Topic