Please or Register to create posts and topics.

New topic submit button misaligned

Hello!

I have been able to set everything up easily so far however the Submit button for New Topics seems to be not 100% centered horizontally/vertically.

https://imgur.com/a/88WX9F1

Any ideas how I can go about changing the code or file via editor etc to make it always centered?

Thank you!

I believe this is the section I need to adjust but not sure exactly what to add to make it come up more and centered 😀

 

echo ‘<div class=”left”>’;
if ($inOtherView) {
echo ‘<a href=”‘.$actionURL.'” class=”cancel”>’.__(‘Cancel’, ‘asgaros-forum’).'</a>’;
} else {
if ($editorView === ‘editpost’) {
$actionURL = $this->asgarosforum->get_link(‘topic’, $this->asgarosforum->current_topic);
}
echo ‘<a href=”‘.$actionURL.'” class=”cancel-back”>’.__(‘Cancel’, ‘asgaros-forum’).'</a>’;
}
echo ‘</div>’;
echo ‘<div class=”right”><input type=”submit” value=”‘.__(‘Submit’, ‘asgaros-forum’).'”></div>’;
echo ‘</div>’;
echo ‘</div>’;
echo ‘</form>’;
}
}
}

Uploaded files:
  • Untitle2211d.png

Hello @deucalion

This styling issue is caused by your theme. If you enable “Guest postings” and give me a direct link to your forum I can have a look to give you a CSS-snippet to fix this.

Deucalion has reacted to this post.
Deucalion
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Hi @Asgaros

Thank you very much for your quick reply and an awesome looking forum plugin this is exactly what I was dreaming of!!

As per your instructions I have enabled Guest Posting on my website, you may access our forums directly via https://www.chaosgaming.net/forums/

Appreciate your help!!

Hello @deucalion

Via Appearance -> Customize -> Additional CSS you can add custom css to your site. Please add there the following CSS-code:

#af-wrapper input[type="button"],
#af-wrapper input[type="submit"],
#af-wrapper .editor-row .cancel,
#af-wrapper .editor-row .cancel-back,
#af-wrapper .forum-menu a {
    padding: 0 8px 1px !important; /* comp */
}

This should fix this styling-issue. I will also include this compatibility-fix in the upcoming update.

Deucalion has reacted to this post.
Deucalion
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

You are a gentleman and a scholar good sir thank you! worked like a charm!!!!

I am glad to hear that everything is working as expected now. 🙂

PS: Dont forget to disable guest-postings again.

Deucalion has reacted to this post.
Deucalion
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

@asgaros

Thanks for the reminder just disabled it.

I have one last question sorry to bother!

Theme I purchased sadly and with my regret came with bbforum which I really hate using, I really enjoy the forum plugin you have created and would like to use your Profile instead of what it is provided with the theme.

Is there a fix or a workaround to force the theme to accept the forum profile and information? It seems one is overriding the other which sadly limits the profile functionality in the forum.

Heres the default profile I have from the theme:

https://www.chaosgaming.net/members/deucalion/

https://www.chaosgaming.net/forums/profile/deucalion/

I like your profile as it allows to see post history etc and its more simple however I’m not sure how to replace or connect the two.

I’m fine with even only using yours if it can absorb some of the functionality of other profile.

Hello @deucalion

In this case you should contact the bbpress-support. I am not sure exactly on how bbpress works but I guess they also have some setting or filter which allows you to overwrite the profile-link so that it can link to the Asgaros Forum profile.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!