The username (dark blue) blends in with the border making it hard to see. Is there a way to fix this by changing the border or text color without affecting anything else on the site?
Announcement
Collapse
No announcement yet.
‘Set Answer” issue 5.6.5
Collapse
X
-
I have the same issue. The color of the link to the username uses the same style variable as the other user links on the site. In addition to the question of the OP, is there a stylevar to change the black boarder color for answered questions.
- Likes 1
-
To keep development and testing time inline, no new style variables were added. This was actually my suggestion as I wanted to wait for customer feedback.
The border uses the Global Style Variables already defined in your style.- background: global_palette_accent_01
- color: global_palette_text
- link: body_link_color
Code:<vb:comment>pinned answer styling</vb:comment> .b-post.pinned-answer { border-style: solid; <vb:comment>/* Keep this in sync with .b-post .answer-label background-color below. */</vb:comment> border-color: {vb:stylevar global_palette_accent_01.color}; border-width: 5px; <vb:comment>/*part 1 to restore the rounded left borders of the userinfo block/left column */</vb:comment> background-color: {vb:stylevar global_palette_accent_01.color}; } .b-post.pinned-answer > div.l-row { <vb:comment>/*part 2 to restore the rounded left borders of the userinfo block/left column */</vb:comment> border-radius: 3px; background-color: {vb:stylevar postbit_background.color}; } .b-post .answer-label { margin-top: 10px; <vb:comment>/* Based on the stylevars that the footer element inherits, to use the iconic vBulletin blue/navy bg color with white text. */</vb:comment> background-color: {vb:stylevar global_palette_accent_01.color}; color: {vb:stylevar global_palette_text_03.color}; <vb:comment>/* Using same font style as conversation-status-emssage.notice */</vb:comment> font-weight:bold; font-size: 1.4rem; padding: 6px 10px; <vb:comment>/* work around background bleedthrough issue.*/</vb:comment> margin: -1px; }
.answer-label a
for links. New style variables can be added if necessary. Though I do worry about the tool becoming bloated and losing its usefulness. Please provide all the feedback you want so we can evaluate.Last edited by Wayne Luke; Fri 29 Oct '21, 8:28am.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 API
- Likes 1
Comment
-
This is the basic CSS you would need to change the color of the link:
.answer-label a {color:white;}
Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 API
- Likes 2
Comment
Related Topics
Collapse
-
by Sadie FrostIs there any way to define a style variable in the css_additional.css template?
For example, I'd like to make an entry for, say, the color property of button_disabled_border. Can that be...-
Channel: Support Issues & Questions
Thu 17 Apr '14, 3:36am -
-
by bootsie1I came across this by accident while changing the postbit background from single color to a gradient this also affected the way upcoming event is displayed like pic below
I am not saying...-
Channel: Support Issues & Questions
Wed 25 Apr '18, 8:24am -
-
by Cfleet1Where would i find this? Ive put a red box around the area i would like to change.
...-
Channel: Support Issues & Questions
Tue 16 Apr '19, 1:28pm -
-
by plongeur.comHi,
Is there any way (css i guess) to make it so one of my notices has a different style than others (just background and borders...) ?
Thanks for your help.-
Channel: Support Issues & Questions
Thu 8 Feb '18, 8:47am -
Comment