RedditEnhancer icon indicating copy to clipboard operation
RedditEnhancer copied to clipboard

adding coustom backgrounds?

Open SteamRex25 opened this issue 9 months ago • 8 comments

Hello, I am trying to add a custom background but I couldn't get the addon to add the image via url.

SteamRex25 avatar Apr 28 '25 20:04 SteamRex25

Make sure that your image is publicly accessible, i.e. you can go to the URL and view it from your web browser, and that the image does not take more than 5 seconds to render.

If this still occurs, can you open the browser developer panel by right-clicking on the page and select Inspect (or press Ctrl + Shift + I on Windows/Linux or Cmd + Option + I on macOS), change to the Console tab, search for ‘content.js’ within the panel and send us a screenshot of the result?

https://github.com/joelacus/RedditEnhancer/blob/main/src-webpack/src/common/popup/inputs/inputs_background.js

On 29 Apr 2025, at 03:32, SteamRex25 @.***> wrote:

SteamRex25 created an issue (joelacus/RedditEnhancer#162) Hello, I am trying to add a custom background but I couldn't get the addon to add the image via url. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

bmndc avatar Apr 29 '25 02:04 bmndc

I see, and how do I make the side bar + post background transparent with a blur?

SteamRex25 avatar Apr 30 '25 21:04 SteamRex25

Under Style, set the background colour of posts and sidebar with a transparency level between 0 and 1 using rgba(). The Theme Blur level you've set will apply accordingly.

On 1 May 2025, at 04:09, SteamRex25 @.***> wrote:

SteamRex25 left a comment (joelacus/RedditEnhancer#162) I see, and how do I make the side bar + post background transparent with a blur? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

bmndc avatar May 01 '25 03:05 bmndc

what do I change to make it transparent though? Idk the exact settings to change

SteamRex25 avatar May 01 '25 12:05 SteamRex25

Post background toggle activated with background colour set to rgba(26, 26, 27, 0.75) Sidebar background toggle activated with background colour set to rgba(26, 26, 27, 0.75) Theme Blur slider set to 8px

bmndc avatar May 02 '25 15:05 bmndc

thanks, now all I wanna know is if there is a way to change the background colour of the left side bar

SteamRex25 avatar May 02 '25 19:05 SteamRex25

Hi. Yes, "Side Menu: Background Colour" is the option you want.

As @bmndc has said, you need to use an rgba colour code to get translucency, I'm planning to add an interactive colour picker eventually, but in the meantime, you can use a tool like this to easily get the code https://rgbacolorpicker.com.

If you are still having trouble adding a certain background image, let me know the link and I'll look into it for you.

joelacus avatar May 02 '25 22:05 joelacus

I managed to get a custom background and transparance effects for the main sidebar and post background. but im hoping to get the rest

SteamRex25 avatar May 03 '25 02:05 SteamRex25