Forums

changing link colors in posts & widgets (4 posts)

  1. lauriepk
    Member
    Posted 2 years ago #

    Hi,

    Thanks for this great theme!

    I just want to change my link colors in my blog posts and sidebar widgets -- how do I do that? Couldn't find on stylesheet....

    http://theadventurouswriter.com/quipstipsrelationships/

    Thanks,
    Laurie

  2. alchymyth
    The Sweeper
    Posted 2 years ago #

    posts - the red links:
    the link color, in pansy.css (quite at the beginning)

    a {
    	color: #e86100;
    }

    generally, the hover states, in style.css:

    a {
    	text-decoration: none;
    }
    
    a:hover {
    	text-decoration: underline;
    }

    and just in case, in pansy.css:

    .post-title a {
    	color: #730039;
    }
    
    .post-title a:hover {
    	color: #15302e;
    }

    sidebar: (for instance the 'dating' link under categories; and almost all other links)
    in pansy.css:

    #sidebar ul li a,#home ul li a {
    	color: #474747;
    }
    
    #sidebar ul li a:hover,#home ul li a:hover {
    	color: #15302e;
    }

    sidebar, deeper nested list: (for instance the 'communication' link under 'dating' under categories)
    in pansy.css:

    #sidebar ul li ul li ul li a,#home ul li ul li ul li a {
    	color: #474747;
    }

    btw: links have the letter 'a' in style sheets, and there is a limited amount of them; not easy to miss.

  3. lauriepk
    Member
    Posted 2 years ago #

    Thank you so much for your quick, informative reply! I thought it was the 'a', but didn't want to bring everything crumbling down around my ears :-)

    Laurie

  4. Txanny
    Member
    Posted 2 years ago #

    Just I would recommend:

    Save your modified file on a folder outside the theme's folder with a new name like 'dating.css'. This will prevent to lose your changes when upgrading the theme.

    Create a file named 'alkivia.ini' in your wp-content folder and write this on it:

    [chameleon]
    custom-palettes-dir = /home/user/http/palettes
    custom-palettes-url = http://sample.com/palettes

    Of course, the directory and URL will depend on where you set the custom palettes folder :)

    After doing that, go to theme options and select the new 'dating' palette.

Topic Closed

This topic has been closed to new replies.

About this Topic