How to target these css selector?
Announcement
Collapse
No announcement yet.
Change color of login / register link
Collapse
X
-
Use the browser dev tools by right clicking the element and choosing Inspect. Then you would see the css class(es) and existing css rules (if any) associated with the element. From there you will know what css selector to use to style it.
My Amazon Affiliate Link
Fast vBulletin VPS Host:
This site is hosted by IONOS
- Top
- Translate
- Bottom
-
Hi Glen,
Yes I know, but I could not find the specific class:
.b-comp-menu-dropdown__trigger--headerbar <- This changed the color or the "login and register link", but also form the "Messages" link.Code:<div id="lnkLoginSignupMenu" class="b-comp-menu-dropdown__trigger js-comp-menu-dropdown__trigger b-comp-menu-dropdown__trigger--arrow b-comp-menu-dropdown__trigger--headerbar js-button" tabindex="0"> Login or Register <span class="vb-icon b-icon__arrow-down-s--disabled js-comp-menu-dropdown__trigger-arrow h-align-middle"></span></div>
is it possible to only change the color of the "login and register link"?
- Top
- Translate
- Bottom
Comment
-
You can also use id not just class.
Code:#lnkLoginSignupMenu { color: red; }
My Amazon Affiliate Link
Fast vBulletin VPS Host:
This site is hosted by IONOS
- Top
- Translate
- Bottom
- Likes 2
Comment
-
- Top
- Translate
- Bottom
Comment
-
Did you want to increase the font size of the Login/Register link or the entire text across the site?
My Amazon Affiliate Link
Fast vBulletin VPS Host:
This site is hosted by IONOS
- Top
- Translate
- Bottom
Comment
-
Changing the font size in the body_font stylevar in the Style Variable Editor will change the font size of most of the text.
My Amazon Affiliate Link
Fast vBulletin VPS Host:
This site is hosted by IONOS
- Top
- Translate
- Bottom
Comment
Latest Posts
Collapse
-
Reply to Welcome to our newest member issueby SnowhogWow! I totally forgot about this.

I just now edited the user.php file. We have a BANNED 'new' user showing in "Welcome to our newest...Today, 08:22 AM -
Reply to Request: Instagram Media Embed or Retrieval Mod for vBulletin Forums Using Snapinstaink Approachby glennrocksvbThank you for the suggestion. I took some time to evaluate the request further and review Instagram's Terms of Use.
I understand the use...Yesterday, 12:05 PM -
I am running a vBulletin forum for a content creator community and wanted to raise a mod request around Instagram media integration. Currently when members...Yesterday, 09:14 AM


Comment