Most frequently requested CSS codes

With InEvent, it is easy to customize your Virtual Lobby using the Virtual Lobby Editor. The Virtual Lobby Editor allows you to style your Virtual Lobby in a way that reflects the style and atmosphere of your event.

To learn how to use the Virtual Lobby Editor, refer to this article if you are using the Neo layout. If you are using the Classic layout, refer to this article instead.

In addition to the Virtual Lobby Editor, you can perform advanced customization of the Virtual Lobby using custom Cascading Style Sheet (CSS) codes.

The use of custom CSS codes requires specific technical knowledge, so this feature is best used by experts familiar with CSS.

This article provides some of the most commonly requested CSS codes to further customize the Virtual Lobby.

Before proceeding, read this article for instructions on how to use custom CSS codes and where they can be used on the platform.

CSS codes to customize the Virtual Lobby

The codes provided here will do the following:

  • Import and apply custom fonts
  • Hide the Open lobby button from My Account tab in the Virtual Lobby (Neo and Classic layout)
  • Hide the Troubleshoot button from the Virtual Lobby (Neo and Classic layout)
  • Hide the Speaker email address from the Virtual Lobby (Neo and Classic layout)
  • Hide the Raise Hands button in activities
  • Change chat font color in activities
  • Add timezone to website Agenda
  • Remove event timezone and date from Registration/Purchase forms
  • Hide the Go to event button in the Registration form
  • Set unique background images for specific pages in the Virtual Lobby
  • Set unique background colors for specific pages in the Virtual Lobby

Import and apply custom fonts

This section will explain how you can import custom fonts and then apply them to the Virtual Lobby, specific pages, or apply a custom font universally.

Import custom fonts

To import custom fonts in the Virtual Lobby, paste the following @font-face CSS code in the Source code text box:

@font-face {
font-family: '[insert font name here]';
font-style: [insert font style here];
src: url("insert font link here") format('[insert font format here]');
}

Alternatively, you can import an existing font declaration file by using the following @import code:

@import url('[insert font declaration file link here]');
Ensure that your font files and/or font declaration file is already hosted on the internet.
You can import multiple custom fonts by stacking @font-face or @import codes.
Apply custom fonts to the Virtual Lobby and all pages universally

To apply custom fonts to the Virtual Lobby and all pages universally, paste the following code in the Source code text box after the @font-face or @import code:

body {
font-family: '[insert font name here]', '[insert generic font family name here]';
}
You may have to refresh the Virtual Lobby more than once before the font change is reflected.
Apply custom fonts to the Virtual Lobby or specific pages

To apply custom fonts to the Virtual Lobby or specific pages only, paste the following code in the Source code text box after the @font-face or @import code.

[insert root tag here] {
font-family: '[insert font name here]', '[insert generic font family name here]';
}
Replace [insert root tag here] with the corresponding root tag of the target page. A list of pages and the corresponding root tags is available in the CSS editor as well as in this article.
You can apply different custom fonts for different pages by stacking the CSS code above.
Custom font code examples
  • Importing and applying a custom font to the Virtual Lobby and all pages universally, using Google Fonts' Signika as an example:
@font-face {
font-family: 'Signika';
font-style: normal;
src: url(https://fonts.gstatic.com/s/signika/v20/vEFO2_JTCgwQ5ejvMV0O96D01E8J0tIJHKbBjM4.woff2) format('woff2');
}

body {
font-family: 'Signika', sans-serif;
}

  • Importing and applying a custom font to the Virtual Lobby, using Google Fonts' Sarabun as an example:
@font-face {
font-family: 'Sarabun';
font-style: normal;
src: url(https://fonts.gstatic.com/s/sarabun/v13/DtVjJx26TKEr37c9aBVJnw.woff2) format('woff2');
}

#liveWrapper {
font-family: 'Sarabun', sans-serif;
}

  • Importing and applying a custom font to My Agenda, using Google Fonts' Space Grotesk as an example:
@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre&display=swap');

#myAgendaWrapper {
font-family: 'Space Grotesk', sans-serif;
}

  • Importing multiple fonts and applying them to different pages, using Google Fonts' Sarabun for the Virtual Lobby, Space Grotesk for My files and My agenda, and Abhaya Libre for My forms and My tickets as an example:
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre&display=swap');

@font-face {
font-family: 'Sarabun';
font-style: normal;
src: url(https://fonts.gstatic.com/s/sarabun/v13/DtVjJx26TKEr37c9aBVJnw.woff2) format('woff2');
}

#liveWrapper {
font-family: 'Sarabun', sans-serif;
}

#fileManagerWrapper, #myAgendaWrapper {
font-family: 'Space Grotesk', sans-serif;
}

#myFormsWrapper {
font-family: 'Abhaya Libre', serif;
}

#ticketManagerWrapper {
font-family: 'Abhaya Libre', serif;
}

Hide the Open lobby button from My Account tab in the Virtual Lobby

To hide the Open Lobby button from the My Account tab in the Virtual Lobby (Neo and Classic layout), paste the following CSS code in the Source code text box:

#headerVue .eventCover-info-virtual-lobby {
display: none;
}

Hide the Troubleshoot button from the Virtual Lobby

To hide the Troubleshoot button from the Virtual Lobby (Neo and Classic layouts), paste the following CSS code in the Source code text box:

.v2-barTop .barContent .barDropdown.optionTroubleshoot{
display: none !important;
}

Remove the Raise Hand button in activities

To remove the Raise Hand button in activities, paste the following CSS code in the Source code text box:

#liveContent .videos .videos-controls .toolRaiseHands {
position: absolute;
z-index: 15;
padding: 7px;
display: none;
}

Hide the Speaker email address from the Virtual Lobby

To hide Speakers email address from the Virtual Lobby, paste one of the following CSS codes below in the Source code text box, depending on the set event layout:

  • Virtual Lobby - Neo layout
#InEventDialog .speaker-modal [data-field="email"] {
display: none !important;
}
  • Virtual Lobby - Classic layout
#liveWrapper .live-speakers .floating-info [data-field="email"] {
display: none !important;
}

Change chat font color in activities

To change the font color on the activities chat, paste the following CSS code in the Source code text box:

#liveContent .chat-container .chat-unpinned .chat-body .chat {
color: "insert color here" !important;
}
Replace "insert color here" with the desired color (written as universal CSS color names or as a HEX color code)

Add a timezone description to the website agenda

These codes will add a timezone description to your agenda under the activity date or beside the activity end time. Paste one of the following CSS codes in the Source code text box:

The time shown on the Virtual Lobby is device-sensitive. The CSS code below exclusively adds a timezone description to your event agenda.
  • Timezone description under activity date
#websiteContent .calendar .tabs:after {
content: "insert timezone name";
font-size: 15px;
}
Replace insert timezone name with the desired timezone name in text while keeping the quotation marks intact.
  • Timezone description beside activity end time
#websiteContent .time:after {
content: "insert timezone name";
font-size: 16px;
}

The following image shows how the codes above will affect your agenda, with insert timezone name set to Eastern Time:

Screenshot of a timezone in Agenda website

Remove event timezone and date from Registration/Purchase forms

To remove event timezone and date details from Registration or Purchase forms, paste one or both of the following CSS codes in the Source code text box:

  • Registration form
#formContent .eventCover .eventDate {
visibility: hidden !important;
}
  • Purchase form
#purchaseContent .eventCover .eventDate {
visibility: hidden !important;
}

Below is how the code will affect your Registration/Purchase forms:

Screenshot of an enrollment form

Remove the Go to event button from the Registration form

To remove the Go to event button from Registration form, paste the following CSS code in the Source code text box:

#formContent section.form[role="alert"] .formCard .formEnd {
display: none !important;
}

Below is how the code will affect your Registration form:

Screenshot of thank you for submission

Set unique background images for specific pages in the Virtual Lobby

To set unique background images to specific pages in the Virtual Lobby, paste the corresponding CSS codes into the Source code text box:

  • My Account
#myAccountWrapper #myAccountContent {
background-image: url("insert image link here");
background-size: [insert image size here];
}
When inserting background-image URL, keep the quotation marks intact. background-size values include auto, length in pixels (px), percentage %, cover and contain. When inserting background-size value, do not include the brackets.
  • My Agenda
#myAgendaWrapper #myAccountContent {
background-image: url("insert image link here");
background-size: [insert-image-size];
}
  • My Tickets
#ticketManagerWrapper #myAccountContent {
background-image: url("insert image link here");
background-size: [insert image size here];
}
  • My Forms
#myFormsWrapper #myAccountContent {
background-image: url("insert image link here");
background-size: [insert image size here];
}
  • My App
#appContent #myAccountContent {
background-image: url("insert image link here");
background-size: [insert image size here];
}
  • Registration Form
#formVue .formContent {
background-image: url("insert image link here");
background-size: [insert image size here];
}
  • Custom Form
#customFormVue #customFormContent {
background-image: url("insert image link here");
background-size: [insert image size here];
}

Set unique background colors for specific pages in the Virtual Lobby

To set unique background colors instead of background images for the previously mentioned pages, remove the following lines:

    background-image: url("insert image link here");
background-size: "insert image size here";

Afterwards, insert the following line:

    background-color: [insert color here];

Customizing other page items or elements

To customize other page items or elements, refer to the following instructions:

The use of JavaScript for CSS customization of the platform is not allowed. JavaScript is only allowed on the platform when creating landing pages. However, note that we do not allow JavaScript on the root domain.
  1. Navigate to the desired page.
  2. Locate the item or element you want to customize.
  3. Right click on the item you wish to customize. A context menu will appear.
  4. Click Inspect. Your browser's Developer Tools will appear.
  5. Locate the properties of the item you want to customize under Styles.
Screenshot of Styles
  1. Replace the item properties as desired.
Where to put CSS code


How Did We Do?