Sorry, we don't support your browser.  Install a modern browser

Announcement bar: Option to set alignment on desktop#14

N

Facility to have text centered on desk top - facility to have text running left to right also.

2 years ago

You can add this in the Custom CSS section at the bottom of the Announcement Bar section:

.announcement-bar__item text-align: center;
}

(I agree, it should be an option in the config, but this works for now)

2 years ago
1
N

Fantastic, works great. very much appriciated……….

2 years ago

Thank you for the code snippet, Steve!

This board does not always properly paste CSS code unless if it’s placed in a markdown code block, this can result in a missing bracket in the code. So I am going to just copy your code over in a code block below which will include that missing bracket:

.announcement-bar__item {
text-align: center;
} 

I would recommend only applying the above code if the Country selector and Language selector are turned off in the announcement bar, otherwise it can look off center.

2 years ago
1