Center align Category widget contents | Support Questions | Support Forum

A A A

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Center align Category widget contents
November 23, 2018
2:34 pm
mitch
Member
Members
Forum Posts: 7
Member Since:
August 27, 2018
sp_UserOfflineSmall Offline

i am trying to Center align the Category widget content using css

text-align: center;

However it’s not working. Is anything blocking it ?

The same css works for the other awpcp widgets.

Thanks.

November 26, 2018
8:50 am
AWPCP Support
Moderator
Members

Moderators
Forum Posts: 5236
Member Since:
September 4, 2013
sp_UserOfflineSmall Offline

Hi mitch,

There should be two selectors for this. I was able to complete this task on my test site with the following code:

.widget_awpcp-categories .top-level-categories p.top-level-category {
background: none;
line-height: .8rem;
margin-bottom: 3px;
padding: 0;
text-align: center;
}

.widget_awpcp-categories #awpcpcatlayout .top-level-categories .sub-categories {
margin-bottom: 0;
margin-left: 0;
text-align: center;
}

Forum Timezone: America/Denver

Most Users Ever Online: 163

Currently Online:
19 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Johnny B: 140

godie: 120

kerdezo: 99

laburke: 94

NAIN KHAN: 93

salvig67: 84

rude: 72

purplepaula: 72

WAYTOBAYWTB52: 71

gery: 71

Member Stats:

Guest Posters: 31

Members: 37917

Moderators: 2

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 6965

Posts: 31009

Newest Members:

Keto2, sonyqq, TomFors, Kara Rozendaal, Cesler Kita, Alexander Liebrecht, Shahidul Islam, NNPA Newswire, mzmsalman, Doucoure oumae

Moderators: awpcp: 7530, AWPCP Support: 5236

Administrators: wpengine: 0, awpcp: 298

Skip to toolbar