Carbonless:
Im trying to Center the EZ header bars contents. The links currently show up aligned left.
I added this to the stylesheet on ZCA4, but no effect.... thoughts?
/* header ezpage bar */
div#ezpagesBarHeader {
text-align:center;
}
#ezpagesBarHeader {
background-color: <?php echo ZCA_HEADER_EZPAGE_BACKGROUND_COLOR; ?>;
}
#ezpagesBarHeader a.nav-link {
color: <?php echo ZCA_HEADER_EZPAGE_LINK_COLOR; ?>;
}
#ezpagesBarHeader a.nav-link:hover {
color: <?php echo ZCA_HEADER_EZPAGE_LINK_COLOR_HOVER; ?>;
}
To get those centered, you'll need to edit your bootstrap clone's /templates/tpl_ezpages_bar_header.php, adding another class to the 'nav-pills' list:
?>
<?php if (!empty($var_linksList)) { ?>
<div id="ezpagesBarHeader" class="ezpagesBar rounded">
<ul class="nav nav-pills [B]
nav-justified[/B]">
<?php for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { ?>
<li class="nav-item"><a class="nav-link" href="<?php echo $var_linksList[$i]['link']; ?>"><?php echo $var_linksList[$i]['name']; ?></a></li>
<?php } // end FOR loop ?>
</ul>
</div>
<?php } ?>
```