Osclass forums
Support forums => Themes => Modern => Topic started by: jeff77789 on July 29, 2015, 11:23:24 pm
-
This is how the footer shows up on mobile:
(http://puu.sh/jhM3m/726605af25.png)
This is how the footer shows up on a desktop:
(http://puu.sh/jhMj0/44a49f1eeb.png)
Here is the code in footer.php:
<ul>
<?php if( osc_users_enabled() ) { ?>
<?php if( osc_is_web_user_logged_in() ) { ?>
<li> <?php echo sprintf(__('Hi %s', OSCLASSWIZARDS_THEME_FOLDER), osc_logged_user_name() . '!'); ?> ❘ <strong><a href="<?php echo osc_user_dashboard_url(); ?>">
<?php _e('My account', OSCLASSWIZARDS_THEME_FOLDER); ?>
</a></strong> <a href="<?php echo osc_user_logout_url(); ?>">
<?php _e('Logout', OSCLASSWIZARDS_THEME_FOLDER); ?>
</a> </li>
<?php } else { ?>
<li> <a href="<?php echo osc_user_login_url(); ?>">
<?php _e('Login', OSCLASSWIZARDS_THEME_FOLDER); ?>
</a></li>
<?php if(osc_user_registration_enabled()) { ?>
<li> <a href="<?php echo osc_register_account_url(); ?>">
<?php _e('Register', OSCLASSWIZARDS_THEME_FOLDER); ?>
</a> </li>
<?php } ?>
<?php } ?>
<?php } ?>
<?php
osc_reset_static_pages();
while( osc_has_static_pages() ) { ?>
<li> <a href="<?php echo osc_static_page_url(); ?>"><?php echo osc_static_page_title(); ?></a> </li>
<?php
}
?>
<li> <a href="<?php echo osc_contact_url(); ?>">
<?php _e('Contact', OSCLASSWIZARDS_THEME_FOLDER); ?>
</a> </li>
<?php if( osc_users_enabled() || ( !osc_users_enabled() && !osc_reg_user_post() )) { ?>
<li class = "publish"> <a href="<?php echo osc_item_post_url_in_category(); ?>">
<?php _e("Post an item", OSCLASSWIZARDS_THEME_FOLDER);?>
</a> </li>
<?php } ?>
</ul>
Here is the code (and surrounding lines) in main.css for class "publish":
.links a {display: block;font-size: 15px;font-weight: 700;text-transform: uppercase;
}
.publish {float: right;
}
.form-filters {padding: 5px;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;
}
any ideas?
Thanks!