Customize Button Color

resolved (9 posts) (3 voices)

  1. Zachareasy
    Member

    I was hoping to customize the Homepage Teaser button color as well as the Submit and any other buttons. Any way to do this via Photoshop or by simply replacing the color # on the style.css? I'd like to use a gradient if possible, unfortunately I'd also like to match my logo so I'm not too sure if a button from a different color scheme would work. Any insight is appreciated!

    http://www.repairthispc.com

    Attachments

    1. Screen_shot_2011-05-06_at_7.55.10_PM.png (19 KB, 3 downloads) 1 year old
    Posted 1 year ago #
  2. Ruderic
    Support

    Hello,

    You have to modify an image using Photoshop in order to accomplish this.

    This is the image that you have to edit: http://www.repairthispc.com/wp-content/themes/awake/styles/slate_grey/button_sprite.png

    Just modify it, and replace the original with your custom one.

    Posted 1 year ago #
  3. Zachareasy
    Member

    So far so good, thank you I'll fool around with it! You guys are awesome!

    Posted 1 year ago #
  4. Zachareasy
    Member

    Is there any way to adjust the alignment of the Homepage Teaser Button? The one above.

    Posted 1 year ago #
  5. Elliott
    Support

    Hello Zachareasy,

    Open up /wp-content/themes/awake/index.php and you can find the button on line 38,

    <a class="button_link alignright large_button" href="<?php echo $teaser_link; ?>"><span><?php echo stripslashes($teaser_button_text); ?></span></a>

    If you are wanting to align it to the left hand side then switch "alignright" to "alignleft".

    Is that what you were wanting?

    Posted 1 year ago #
  6. Zachareasy
    Member

    Hey Elliott,

    Sorry I didn't even specify exactly! I was hoping to move it down a bit so its vertically centered.

    Posted 1 year ago #
  7. Elliott
    Support

    In that case try adding a style to it like this,

    <a class="button_link alignright large_button" style = 'position: relative; top: 20px;' href="<?php echo $teaser_link; ?>"><span><?php echo stripslashes($teaser_button_text); ?></span></a>

    And play around with the values until it looks okay.

    Let us know if that works for you Zachareasy.

    Posted 1 year ago #
  8. Zachareasy
    Member

    Worked perfectly as usual Elliott! Much appreciated thank you!

    I also have questions about opening specific links into a new window from both the slider and a couple of other places on the homepage.

    Would you prefer me to create a new thread incase someone else searches for the same issue?

    Posted 1 year ago #
  9. Elliott
    Support

    Yeah that'd be great Zachareasy, I'll go ahead and mark this one as resolved.

    Posted 1 year ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme