Change color of just 1 button on homepage – Aspire Pro

Homepage Community Forums Aspire Theme Support Change color of just 1 button on homepage – Aspire Pro

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18133
    sabrinaespinal
    Customer

      Aspire Pro Theme:
      I would like the change the color of just one button – The button in Front Page widget 1.

      Will my life go on if I don’t change the color…yes…but…

      The is my personal website so I just want to make it a little more unique.

      Do you have class color buttons? I’m thinking no because of the customizer.

      This is the code I used in Front Page Widget 1

      <h4>We Post Your Social Media</h4><div style=”clear: both;”>Learn More</div>

      My site: http://www.sabrinacompany.com

      Thank you in advance. No rush….I’m going to find a cupcake.

      Sabrina

      #18140
      Wes
      Moderator

        Yes this can easily be done by adding/creating a class in your CSS. I already have a few examples in the CSS that you can use in the Button section around line 547 –

        /* Buttons and Colors */
        
        a.button.medium {
        	font-size: 16px;
        	font-weight: 300;
        	padding: 12px 60px;
        }
        
        a.button.large {
        	font-size: 18px;
        	font-weight: 300;
        	padding: 15px 40px;
        }
        
        a.button.clear-button {
        	background: none;
        	border: 1px solid #fff;
        }
        
        a.button.clear-button:hover {
            border: 1px solid #fa5738;
        }
        
        a.button.black {
        	background: #000;
        }
        
        a.button.white {
        	background: #fff;
        	color: #333;
        }
        
        a.button.white-clear {
        	background: none;
        	border: 1px solid #fff;
        	border-radius: 3px;
        	color: #fff;
        	-moz-border-radius: 3px;
        	-webkit-border-radius: 3px;
        }

        Once we create a new class for your button in your CSS, you would add it in the code like this (let’s use Black as an example) –

        <a class="button large black" href="http://www.sabrinacompany.com/services">Learn More</a>

        Notice I added black as a class, so now it will show the code that it’s assigned to –

        a.button.black {
        	background: #000;
        }

        What color did you want to use exactly?

        #18147
        sabrinaespinal
        Customer

          Wes,
          This is great! I think the yellow that I put on the menu hover and drop down #ffd700. It’s bright and very different for me.

          So thank you sooooo much. I really appreciate it.

          I’ll let you know when my site is totally made over from Epik. I LOVED Epik but I love this one more because I can make so many different changes to make the site different whenever I want.

          Have a great holiday weekend with your family.

          Sabrina

          #18152
          Wes
          Moderator

            You’re welcome!

            Looking forward to see what you come up with.

            Let us know if you need anything.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • The topic ‘Change color of just 1 button on homepage – Aspire Pro’ is closed to new replies.