New topic submit button misaligned
Quote from Deucalion on October 9, 2018, 3:28 amHello!
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.
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>’;
}
}
}
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.
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 😀
Uploaded files: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>’;
}
}
}
Quote from Asgaros on October 9, 2018, 5:10 amHello @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.
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.
Quote from Deucalion on October 9, 2018, 3:42 pmHi @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!!
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!!
Quote from Asgaros on October 10, 2018, 3:24 amHello @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.
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.
Quote from Asgaros on October 10, 2018, 3:37 amI am glad to hear that everything is working as expected now. 🙂
PS: Dont forget to disable guest-postings again.
I am glad to hear that everything is working as expected now. 🙂
PS: Dont forget to disable guest-postings again.
Quote from Deucalion on October 10, 2018, 3:46 am@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.
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.
Quote from Asgaros on October 10, 2018, 6:16 amHello @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.
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.