Cnetering the Foundation section header

miyukichii

New Member
I am working on zurb Foundation 4. I need to create tab set like following
s8DJS.png
I am expecting to achieve this by sections of foundation framework. But the problem is this is I cannot make the navigation center in default foundation it left align the navigation and it is doing it with js. The following code helps to position the titles.\[code\] position_titles : function (section, off) { var titles = section.find('.title'), previous_width = 0, self = this; if (typeof off === 'boolean') { titles.attr('style', ''); } else { titles.each(function () { $(this).css('left', previous_width); previous_width += self.outerWidth($(this)); }); }},\[/code\]I am stuck ... Can some one point me to get this done.
 
Back
Top