Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Menu Center Alignment

Featured Lock Resolved Task
http://cpsindia.org/new/

In this site I want to make the menu center alignment, so I wrote the code, but the code not worked. Please guide me.

.sp-megamenu-parent
{

margin: 0 auto;
}

Thanks in advance.

5 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Hi, try this instead


#sp-header .container {width: 100%;}
.sp-megamenu-parent {
margin: 0 auto;
float: none; text-align: center;}

chadnra31

More than a month ago #Permalink
Thanks a lot. And one more help:
I wrote a code to add a bullet in the left menu, but not working.

#sp-left .sp-module ul >li >a
{
list-style-type: disc;
}

Paul Frankowski - Staff

More than a month ago #Permalink
sorry, but we do not teach CSS here.

But maybe try this

#sp-left .sp-module ul > li > a::before { content: '•'; }

chadnra31

More than a month ago #Permalink
sorry, but we do not teach CSS here.

But maybe try this

#sp-left .sp-module ul > li > a::before { content: '•'; }


Sorry bro. But Thanks a lot.


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 121
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 110
Toufiq

Toufiq

Total Accepted Answers: 82
Kamruzzaman Alam

Kamruzzaman Alam

Total Accepted Answers: 5
FUTURECLIENT

FUTURECLIENT

Total Accepted Answers: 2

115

Templates

296316

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us