Use user style sheet to modify the look of a website in Opera
Wednesday, 1. July 2009, 15:26:01
A user style sheet is a text file with CSS declarations. It allows you to have control over the look and feel of website. It can be used to hide annoying things like ads, change fonts and colors, etc.
!important declaration should be added to a rule to take precedence over author style sheet.
User style sheets can be applied to all sites (restart required to apply style sheet) or per-site basis (reload required to apply style sheet).
Example 1: Hide friend request link in My Opera

My Opera friend request link in top bar
- Create a text file with the following and save preferably inside profile\styles directory with CSS file extension.
/* Friend request */ #friendrequest { display: none !important; }
CSS to hide friend request link and share this button - Add path to CSS file in site preferences.

Path to CSS file in site preferences - Reload page to apply style sheet.

My Opera friend request link hidden by CSS
Example 2: Hide sponsored links in Google

Useless Google sponsored links
Google sponsored links can't be blocked by content blocker but it can hidden by following CSS code.
/* Top sponsored links */
#tads { display: none !important; }
/* Side sponsored links */
#mbEnd { display: none !important; }









