Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8830347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:03:44+00:00 2026-06-14T08:03:44+00:00

I’ve got a website that has all elements from <h1> to <sup> – and

  • 0

I’ve got a website that has all elements from <h1> to <sup> – and each of them have their own font sizes, (most of them in pixels)

This website is a collection of clients and each client has their own subdomain.. While the base code, images, css and js are all same for the whole website, each subdomain has it’s own specific theme.css – just the one css file used to apply client specific design.

Now, one client wants bigger fonts throughout their subdomain. So I thought it was just a matter of adding

*
{
    font-size: ...
}

Now, I cannot specify one size there.. and I can list out all elements and set the font size individually (this will be plan B) – but is there a way that I can set all elements to increment their respective font sizes?


Edit
IF this is not possible by css, I can do so with jquery.. I guess..
Also, changing the existing px sizes is not an option as this is legacy code and I don’t have access to the base css files.. just the subdomain.css and subdomain.js file..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T08:03:45+00:00Added an answer on June 14, 2026 at 8:03 am

    If you change all elements to use em or percent instead of pixels you can change the base font size for the body, but as they are specified in pixels you can’t do that.

    Solution 1:
    Change all font sizes set in pixels to their corresponding em or percent size, and set a larger body size.
    This tool could help you with that: http://pxtoem.com

    Example:

    body {
      font-size: 16px;
    }
    
    p {
      font-size: 1em;
    }
    

    Solution 2:
    Group all elements with the same size and override them.

    Example:

    div,
    span,
    p {
      font-size: 12px;
    }
    
    sub,
    sup {
      font-size: 10px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a string that has curly quotes in it. I'd like to replace
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have a text area in my form which accepts all possible characters from
That's pretty much it. I'm using Nokogiri to scrape a web page what has
Basically, what I'm trying to create is a page of div tags, each has
I have a small JavaScript validation script that validates inputs based on Regex. I
I have a French site that I want to parse, but am running into
I have an array which has BIG numbers and small numbers in it. I
I have a view passing on information from a database: def serve_article(request, id): served_article

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.