Forums

[resolved] Setting a default color (3 posts)

  1. Moir
    Member
    Posted 1 year ago #

    Hi, I'm just wondering if there is a way to set the default color that this theme will load when a user visits. Right now it always defaults to pink, and I'd much rather have it load as orange, then let users adjust how they see fit from there.

    I'm really not much by way of editing CCS or recognizing where the code would be to set this, if it is doable.

    Thanks in advance! I love the look of this theme by the way!

  2. GhostFalconX
    Member
    Posted 1 year ago #

    Hello! I am using this theme as well and faced the same problem as you did. You will need to edit the style.css file directly to change the default colour. The steps are as follows;

    Step 1
    Scroll to the bottom of the stylesheet and add the following lines of code. This is to add the styles for the pink scheme.

    /* Pink */
    .pink #nav a:hover, .pink #nav .current_page_item a{
    background: url(images/navbtnhover.jpg) repeat-x 0 50%;
    }
    .pink #headerimg h1 a, .pink #wd *, .pink .more-link{
    color:#BD1785
    }
    .pink .post h2 a, .pink .post h3 a, .pink .post h2, .pink .post h3 {
    color:#BD1785
    }

    Step 2
    Ctrl+F and search for the term "navbtnhover.png". It should be at line #139. Change this to your desired default.

    Example:

    Change this line,
    background: url(images/navbtnhover.jpg) repeat right center;

    to this,
    background: url(images/navbtnhover_orange.jpg) repeat right center;

    Step 3
    Ctrl+F and search for the color "#BD1785". Replace the first two with the color of your default font. They should be found on lines #56 and #158.

    Example:

    Change this line,
    color: #BD1785;

    to this,
    color: #E57F1D;

    Hope this helps!

  3. Moir
    Member
    Posted 1 year ago #

    Excellent, thank you very much! I'm pretty new to this stuff and this looks clear enough for me to handle. Much appreciated =)

Topic Closed

This topic has been closed to new replies.

About this Topic