Zen Follower
- Join Date:
- May 2010
- Posts:
- 192
- Plugin Contributions:
- 5
Position of Submit button
Hi zenners,
I want the submit-button to show a slightly upward and the left if possible. Is there a way to do this with css.
Thanks in advance.
Views: 2,831
Zen Follower
Hi zenners,
I want the submit-button to show a slightly upward and the left if possible. Is there a way to do this with css.
Thanks in advance.
Black Belt
A link to the page you are concerned with....
Zen Follower
kobra:
A link to the page you are concerned with....
here ,
Black Belt
Try adding this to the end of your stylesheet and adjust to suit
.buttonRow {
margin: -1em 2em 0em 0em;
}
Zen Follower
thanks cobra, but it makes all the buttons to move up not only submit-button, How do I restrict others to move?
Thanks for your time, appreciate it a lot.
Black Belt
That is currently in a div class ".buttonRow"
To segregate you would have to change the div for the buttom you want moved to a unique one that can then be added to the stylesheet
Zen Follower
kobra:
That is currently in a div class ".buttonRow"
To segregate you would have to change the div for the buttom you want moved to a unique one that can then be added to the stylesheet
Could you give me some example of this ?
Thanks again.
Black Belt
Could you give me some example of this ?
From the end of tpl_create_account_default.php
Change the div class="buttonRow forward"
to something unique like
div class="submitButton forward"
</fieldset>
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SUBMIT, BUTTON_SUBMIT_ALT); ?></div>
</form>
</div>
Zen Follower
</fieldset> <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SUBMIT, BUTTON_SUBMIT_ALT); ?></div> </form> </div> ```kobra:
From the end of tpl_create_account_default.php
Change the div class="buttonRow forward"
to something unique like
div class="submitButton forward"
Works great for me :clap: , thanks a lot Cobra.
Tell staff why this post should be reviewed.