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: 12
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: 5375
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:
30 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

sctpfwape: 75

rude: 72

purplepaula: 72

gery: 71

Member Stats:

Guest Posters: 32

Members: 38182

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 7041

Posts: 31312

Newest Members:

IRVAN SYAHPUTRA, Sanjay shastriji, Sanjay shastriji, Craft Studio, Bandar Asik99, elmonitor, Kids123, ypural, Jim Rice, pelangiquq

Moderators: awpcp: 7530, AWPCP Support: 5375, Bobbie Devereux: 0

Administrators: wpengine: 0, awpcp: 300

Skip to toolbar