How to Make Design Changes in CSS (Cascading Style Sheets)

Christopher Doyle • January 2, 2024

A website is one of the first things users or customers will look for when researching your business.

Your website's design can either catch a user's attention or drive them away. Creating a visually cohesive and user-friendly site is essential to guaranteeing a successful website user experience.

Cascading Style Sheets (CSS) is a language that applies visual design styles across HTML elements. The benefit of using CSS is time it can save you. Rather than manually adding style attributes to individual HTML elements, CSS allows you to apply styles across elements on your site with just a few lines of code. You can use CSS to adjust the design across your websites on WordPress, Duda, Squarespace, and more.

For example, let's say we want all of your H1 tags to be bolded, 18pt font, and blue. You can quickly implement that new design across all H1 tags with CSS code. You can also changes other style elements such as background colors, margins, padding, and more. See the examples below.

Let's say we want all paragraph elements to use a royal blue text and to be aligned to the left. To do this, we would start with identify the tag we want to design for, which is p.
Next, we can add styles to them. In this case, we would use color for text color and text-align for the alignment. Make sure to add a semicolon between each line. Now, your paragraph elements will look like this:
This text is blue and left aligned on a white background
Example of CSS code
Example of CSS code

Example of CSS code design for a button
Example of CSS code design for a button
In this next example, you have a button and want to adjust the text to be maroon. You also want to change the background color to be pink and round the corners, while also adding some padding. Just like with the last example, we'll start by identify the element we want to style, which is button in this case.

Next, add the styles, and see how your button design has changed.

A pink button that says this is a button

To see more style options, you can visit W3 Schools, a great resource for your coding needs.

Feel like a lot of work?

Let us do it for you! Click below to see how we can help your

smallbusiness with your digital marketing.

Contact Us
Family watching streaming TV together on the couch
By Felipe Pinto • November 16, 2026
Your customers cut the cable, not the TV. How streaming TV (CTV/OTT) ads work for a local business: targeting, cost, creative and how to measure it.
Roberto Clemente Bridge and downtown Pittsburgh skyline
By Felipe Pinto • November 9, 2026
Why does your competitor show up on Google and you don't? 12 local search fixes for Pittsburgh businesses, from Google profile basics to AI answers.
Small business owner answering a customer call in her shop
By Felipe Pinto • November 2, 2026
A website that looks nice but never rings the phone is a business card with hosting fees. 9 reasons local sites don't get calls, and how to fix each one.
Partnership announcement for Sober St. Patrick's Day with a man in suit giving a thumbs up.
By Christopher Doyle • January 7, 2026
How Y Associates helped the Pittsburgh Thunderbirds land a first official retail partner and became Sponsorship Sales Partner for Sober St. Patrick's Day.
Videographer filming a performer on a stage with others in the background under blue and white lights.
By Christopher Doyle • December 22, 2025
Explore how AI transforms video production, making it faster, affordable & efficient. See what it means for your budget and adapt your strategy today!
Man in suit looking frustrated, arms raised, sitting at a table with a laptop and coffee in a city setting.
By Christopher Doyle • December 15, 2025
AI Overviews and zero-click results answer simple searches on Google itself. Here is what still earns the click or the call, and how to measure it.
Group of people in an office setting, sitting in a circle, engaged in a discussion.
By Christopher Doyle • December 8, 2025
AI transforms advertising with hyper-personalized creatives. Boost your ROAS today with Y Associates' innovative strategies.
Smartphone displaying the ChatGPT logo on a brown granite surface.
By Christopher Doyle • December 1, 2025
Learn how AI is reshaping marketing strategies. Partner with Y Associates for effective SEO, ads, & social media solutions.
Four business people connecting wooden blocks and a piggy bank on a table.
By Christopher Doyle • November 24, 2025
When search, SEO, social and email are planned apart, you pay twice for one customer. How a unified marketing plan keeps budgets and messages aligned.
5 Marketing Trends Defining the Future | Y Associates
By Christopher Doyle • November 17, 2025
Five marketing trends changing how customers choose a business, from speed to lead and trust signals to clear measurement, and what to do about each.