• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Fonts on a per-website basis

    Suggestions and feature requests
    2
    2
    33
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • NotEevee
      NotEevee last edited by

      Would be nice to be able customize font sizes and types but on a per-website basis instead of a global type of change.
      I've had some issues on certain websites after changing font to a smaller unit (causing information to be cut off in drop downs) in customise fonts settings so i figure this would be a nice work-around and a nice feature to have.

      Reply Quote 0
        1 Reply Last reply
      • burnout426
        burnout426 Volunteer last edited by

        Here are some things you can do right now:

        In Opera GX you can goto the URL opera://settings/web_modding and add CSS for a domain to change any font stuff that CSS allows you to change. In regular Opera, you can use a User CSS extension or ever write your own extension.

        Example:

        Create a folder on your desktop and put these 2 files in it:

        manifest.json:

        {
            "manifest_version": 3,
            "name": "Red Font for Example.com",
            "version": "0.1",
            "description": "Changes all font color to red on example.com.",
            "content_scripts": [
                {
                    "matches": [
                        "*://example.com/*"
                    ],
                    "css": [
                        "content.css"
                    ],
                    "run_at": "document_start"
                }
            ],
            "permissions": []
        }
        

        content.css:

        * {
            color: red !important;
            font-size: 24px !important;
            font-family: Consolas !important;
        }
        

        Then, in Opera, goto the URL opera://extensions, turn on developer mode, click "Load unpacked" and point it to the folder where manifest.json is at. Then, enable "Allow access to search page results" and "Allow in incognito". Then, goto https://example.com/.

        You can see https://www.w3schools.com/cssref/pr_font_font.php for more info on font-related CSS properties etc.

        Reply Quote 0
          1 Reply Last reply
        • First post
          Last post

        Computer browsers

        • Opera for Windows
        • Opera for Mac
        • Opera for Linux
        • Opera beta version
        • Opera USB

        Mobile browsers

        • Opera for Android
        • Opera Mini
        • Opera Touch
        • Opera for basic phones

        • Add-ons
        • Opera account
        • Wallpapers
        • Opera Ads

        • Help & support
        • Opera blogs
        • Opera forums
        • Dev.Opera

        • Security
        • Privacy
        • Cookies Policy
        • EULA
        • Terms of Service

        • About Opera
        • Press info
        • Jobs
        • Investors
        • Become a partner
        • Contact us

        Follow Opera

        • Opera - Facebook
        • Opera - Twitter
        • Opera - YouTube
        • Opera - LinkedIn
        • Opera - Instagram

        © Opera Software 1995-