Feed button setup

Anything about browser themes, both Full Themes and Lightweight Themes (personas) should go here.

Moderators: satrow, Lootyhoof, FranklinDM

Goodydino
Lunatic
Lunatic
Posts: 440
Joined: 2017-10-10, 21:20

Feed button setup

Unread post by Goodydino » 2018-01-14, 18:14

How do you get the feed button to appear? I ported a Firefox theme into Pale Moon, and its configuration should have made the feed button appear in the address bar, but it does not do that. The setup looked to me to be the same as for other themes, but it does nothing. What is the proper syntax for configuring the feed button?

User avatar
Lootyhoof
Themeist
Themeist
Posts: 1201
Joined: 2012-02-09, 23:35
Location: United Kingdom

Re: Feed button setup

Unread post by Lootyhoof » 2018-01-14, 23:55

The selector for this is #ub-feed-button. For example, to make it appear using only icons present in an existing theme you could add the following to browser.css:

Code: Select all

#ub-feed-button,
#ub-feed-button > .button-box,
#ub-feed-button:hover:active > .button-box {
  padding: 0px;
  margin: 0px;
  border: 0px; 
  background-color: transparent !important;
}

#ub-feed-button {
  -moz-appearance: none; 
  min-width: 0px; 
  list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
}

Goodydino
Lunatic
Lunatic
Posts: 440
Joined: 2017-10-10, 21:20

Re: Feed button setup

Unread post by Goodydino » 2018-01-16, 20:37

That works. Thanks a bunch.

Locked