Change color of signature text, globally?

For support and discussion related to templates and themes in phpBB 3.3.
Post Reply
User avatar
kellijaebaeli
Registered User
Posts: 77
Joined: Sun Jun 07, 2020 11:24 pm
Name: Kelli Jae Baeli
Contact:

Change color of signature text, globally?

Post by kellijaebaeli »

Is there some way to customize signatures, globally, on my board? If it helps, I"m using the Latte theme.
I want to change the color of the signature text, to set it apart.

I'm hoping that someone either knows of an extension, or can show me what coding needs changing, and how to do that. I've done some code changes, but am not a coder.
Author of 60 books, 31 bestsellers, I'm an Indie Publisher, Editor, Artist, Singer-Songwriter, Secular Humanist, Democrat, Freethinker, Avid Reader, Constant Student, married to my awesome wife, Melissa Walker-Baeli.

Sign up for my mailing list, check out my work, or listen to my music at http://kellijaebaeli.com/ or http://femfic.net
User avatar
Elias
Registered User
Posts: 5139
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias

Re: Change color of signature text, globally?

Post by Elias »

Tested this quickly:

styles/prosilver/theme/content.css

FIND:

Code: Select all

/* Post signature */
.signature {
	margin-top: 1.5em;
	padding-top: 0.2em;
	font-size: 1.1em;
	border-top: 1px solid transparent;
	clear: left;
	line-height: 140%;
	overflow: hidden;
	width: 100%;
	}
Change to:

Code: Select all

/* Post signature */
.signature {
	margin-top: 1.5em;
	padding-top: 0.2em;
	font-size: 1.1em;
	border-top: 1px solid transparent;
	clear: left;
	line-height: 140%;
	overflow: hidden;
	width: 100%;
	color: red;
}
Change red to whatever color you want.
Purge the cache when you're done.

Thanks
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|
User avatar
Tastenplayer
Registered User
Posts: 825
Joined: Thu Jul 03, 2014 9:20 pm
Location: Village in the middle of Switzerland
Name: Jutta Koliofotis
Contact:

Re: Change color of signature text, globally?

Post by Tastenplayer »

latte - stylesheet.css - line 5022

Code: Select all

.signature {
  border-top-color: #e8e1cf; 
  color: #c05555; }
Choose your color for the second line color: #xxxxxx (# and the color code from the picture)
websafe_color_chart.jpg
Note: if a user specifies a color for the signature in ucp, the color chosen by the user will be displayed for his signature. Unless you disable the BBCode tag: Allow BBCode in signatures: in acp (ACP - GENERAL - Signature settings on the left).

To change the color for the signature in Prosilver:
color.css line 397

Code: Select all

/* Post signature */
.signature {
	border-top-color: #CCCCCC;
	color: #c05555;
}
More of my styles you can find in my phpBB Style Board & More
Be the best version of yourself rather than a bad copy of someone else!
Excuse me for my English, but I learned the language by speaking to people and not at school.
🎨 All my styles are updated to 3.3.3
User avatar
kellijaebaeli
Registered User
Posts: 77
Joined: Sun Jun 07, 2020 11:24 pm
Name: Kelli Jae Baeli
Contact:

Re: Change color of signature text, globally?

Post by kellijaebaeli »

Tried this, using EditPad. Saved original file with different name, for safekeeping.
Changed/added these lines, saved, ftp-uploaded, overwrite the file, opened, refreshed a post to look at signature and nothing has changed.
DO i need to clean cache or log out and in?
ADDENDUM: tried logging out and in, and also purging cache, and still, no changes.|
Might it have something to do with the warning on the stylesheet saying not to edit the css?
DO NOT EDIT stylesheet.css!

Edit .scss files instead. See http://www.artodia.com/phpbb-31-tutoria ... ile-theme/
If you have any questions, please ask on support forum at http://www.artodia.com/forums/
On another post, i mentioned that the rigamarole i had to go through--THOSE instructions were insane. Several pieces of software to download and confusing, vague instructions...SO I opted to directly edit css anyway (as i've done a few times before in the past without a problem).

Tastenplayer wrote:
Sat Jun 13, 2020 3:08 pm
latte - stylesheet.css - line 5022

Code: Select all

.signature {
  border-top-color: #e8e1cf; 
  color: #c05555; }
Choose your color for the second line color: #xxxxxx (# and the color code from the picture)
websafe_color_chart.jpg

Note: if a user specifies a color for the signature in ucp, the color chosen by the user will be displayed for his signature. Unless you disable the BBCode tag: Allow BBCode in signatures: in acp (ACP - GENERAL - Signature settings on the left).

To change the color for the signature in Prosilver:
color.css line 397

Code: Select all

/* Post signature */
.signature {
	border-top-color: #CCCCCC;
	color: #c05555;
}
Last edited by kellijaebaeli on Sat Jun 13, 2020 8:00 pm, edited 2 times in total.
Author of 60 books, 31 bestsellers, I'm an Indie Publisher, Editor, Artist, Singer-Songwriter, Secular Humanist, Democrat, Freethinker, Avid Reader, Constant Student, married to my awesome wife, Melissa Walker-Baeli.

Sign up for my mailing list, check out my work, or listen to my music at http://kellijaebaeli.com/ or http://femfic.net
User avatar
Lumpy Burgertushie
Registered User
Posts: 68544
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Change color of signature text, globally?

Post by Lumpy Burgertushie »

yes you must purge the cache after any edits to style files and refresh your browser.

however, since you are apparently going to be doing a lot of changes you should do this;
admin panel, left menu near the bottom: Load settings.
change "recompile stale style components" to yes.
purge the cache
refresh your browser.

now, when you make changes to the style files and upload them back, all you have to do is refresh your browser to see the changes.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
kellijaebaeli
Registered User
Posts: 77
Joined: Sun Jun 07, 2020 11:24 pm
Name: Kelli Jae Baeli
Contact:

Re: Change color of signature text, globally?

Post by kellijaebaeli »

Okay, i did that. THANK YOU.
Will see if that helps.
Author of 60 books, 31 bestsellers, I'm an Indie Publisher, Editor, Artist, Singer-Songwriter, Secular Humanist, Democrat, Freethinker, Avid Reader, Constant Student, married to my awesome wife, Melissa Walker-Baeli.

Sign up for my mailing list, check out my work, or listen to my music at http://kellijaebaeli.com/ or http://femfic.net
User avatar
kellijaebaeli
Registered User
Posts: 77
Joined: Sun Jun 07, 2020 11:24 pm
Name: Kelli Jae Baeli
Contact:

Re: Change color of signature text, globally?

Post by kellijaebaeli »

Elias wrote:
Sat Jun 13, 2020 12:17 pm
Thank you, ELias. That worked to change the color. I am using Latte theme, but i searched the code for "sig" and found the proper area. Appreciate that!
Last edited by Mick on Sun Jun 14, 2020 7:27 am, edited 1 time in total.
Author of 60 books, 31 bestsellers, I'm an Indie Publisher, Editor, Artist, Singer-Songwriter, Secular Humanist, Democrat, Freethinker, Avid Reader, Constant Student, married to my awesome wife, Melissa Walker-Baeli.

Sign up for my mailing list, check out my work, or listen to my music at http://kellijaebaeli.com/ or http://femfic.net
User avatar
Talk19Zehn
Registered User
Posts: 598
Joined: Tue Aug 09, 2011 1:10 pm
Contact:

Re: Change color of signature text, globally?

Post by Talk19Zehn »

SASS-Style Latte by Author Arty and Co-Author MrGaby phpBB-3.3.0
https://www.phpbb.com/customise/db/style/latte


Hello kellijaebaeli, please take a look:
https://www.phpbb.com/customise/db/styl ... 21#p754321

Best regards
User avatar
Tastenplayer
Registered User
Posts: 825
Joined: Thu Jul 03, 2014 9:20 pm
Location: Village in the middle of Switzerland
Name: Jutta Koliofotis
Contact:

Re: Change color of signature text, globally?

Post by Tastenplayer »

My mistake - because I felt stressed because color changes in the prosilver belong in the color.css and not in the content.css. But the style Latte is in SASS configurated, so of course it still needs to be adjusted. And yes the stylesheet is not allowed to be changed :oops:

Signatur color changes in style Latte:
Download and install this ext: https://www.artodia.com/threads/sass-co ... -3-1.2186/

Insert in _custom.scss

Code: Select all

/* Post signature */
.signature {
	color: #c05555;
}
insert in _custom_config.scss
// $post-signatur-text-color: #c05555 !default; // Signatur color

Go to acp - CUSTOMIZE - Compile Themes (on the left) - Style Latte is displayed

Code: Select all

Latte
Style path: styles/latte/ 	SCSS files have been recently updated. Recompilation might be needed.
Click on: Compile theme purche the cache - The change was accepted and is displayed in my adapted style.
More of my styles you can find in my phpBB Style Board & More
Be the best version of yourself rather than a bad copy of someone else!
Excuse me for my English, but I learned the language by speaking to people and not at school.
🎨 All my styles are updated to 3.3.3
User avatar
Elias
Registered User
Posts: 5139
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias

Re: Change color of signature text, globally?

Post by Elias »

kellijaebaeli wrote:
Sat Jun 13, 2020 8:14 pm
Elias wrote:
Sat Jun 13, 2020 12:17 pm
Thank you, ELias. That worked to change the color. I am using Latte theme, but i searched the code for "sig" and found the proper area. Appreciate that!
Did it work or did it not work?

I'm confused.
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|
User avatar
spaceace
Registered User
Posts: 1999
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: Change color of signature text, globally?

Post by spaceace »

just a quick note... if you are making a lot of style changes to 1 style, any future updates that will have to be applied will undo all of the changes. in that case, i made a very simple extension that does all of my changes so when i update my styles, i don't have to redo them every time i update my styles
User avatar
Tastenplayer
Registered User
Posts: 825
Joined: Thu Jul 03, 2014 9:20 pm
Location: Village in the middle of Switzerland
Name: Jutta Koliofotis
Contact:

Re: Change color of signature text, globally?

Post by Tastenplayer »

You're right, of course. But the style latte is configured with SASS and already contains two custom files where you have to add your customizations.
And if a change should be integrated directly into the prosilver, then at least in the correct css!
More of my styles you can find in my phpBB Style Board & More
Be the best version of yourself rather than a bad copy of someone else!
Excuse me for my English, but I learned the language by speaking to people and not at school.
🎨 All my styles are updated to 3.3.3
User avatar
kellijaebaeli
Registered User
Posts: 77
Joined: Sun Jun 07, 2020 11:24 pm
Name: Kelli Jae Baeli
Contact:

Re: Change color of signature text, globally?

Post by kellijaebaeli »

Yes it finally worked, but all the other problems meant that i gave up and changed to prosilver theme, hoping to have more support. The latte theme is problematic in so many ways, and there's very little real support.

I don't have time to do things the hardest way. I need the path of least resistance, while still getting something close to my goals.

You've been very nice and helpful, but I think sometimes the coding geniuses on here forget that it's not everyone's forte. It doesn't make us stupid, it just means our skills are elsewhere and all this falls under "necessary evil." I don't understand why those with the skillset don't create more accessibility for those of us who aren't good at some of these technical aspects. I have never understood why so many people think that complicated is better than simple. Occam's Razor should rule here, but it doesn't seem to.
Elias wrote:
Sun Jun 14, 2020 12:32 pm
kellijaebaeli wrote:
Sat Jun 13, 2020 8:14 pm
Elias wrote:
Sat Jun 13, 2020 12:17 pm
Thank you, ELias. That worked to change the color. I am using Latte theme, but i searched the code for "sig" and found the proper area. Appreciate that!
Did it work or did it not work?

I'm confused.
Author of 60 books, 31 bestsellers, I'm an Indie Publisher, Editor, Artist, Singer-Songwriter, Secular Humanist, Democrat, Freethinker, Avid Reader, Constant Student, married to my awesome wife, Melissa Walker-Baeli.

Sign up for my mailing list, check out my work, or listen to my music at http://kellijaebaeli.com/ or http://femfic.net
Post Reply

Return to “[3.3.x] Styles Support & Discussion”