View Full Version : Move 'Subscribe' button in line with 'Articles', 'Forum' etc.
David Karol
03-19-2016, 12:31 AM
See screenshot.
How could I go about moving the Subscribe button to be in line with the other menu options in articles and forums? (Posts, Latest Activity). The goal is get rid of extra white space.
I tried using CSS to shift 'bottom', 'top' and 'right' for .button, .ui-widget .button but it ended up being covered by white space.
https://vborg.vbsupport.ru/attachment.php?attachmentid=154532&stc=1&d=1458351068
In Omnibus
03-19-2016, 12:50 AM
I haven't tried moving the button but did you attempt using the overflow: visible attribute?
David Karol
03-19-2016, 01:04 AM
That didn't seem to help.
Replicant
03-19-2016, 02:08 AM
Try this code. You will need to adjust to clear the search bar or just move it beneath the search bar.
button.is-topic.button.follow-btn.uppercase.h-left.secondary {
position: absolute;
bottom: 105px;
right: -1em;
}
.canvas-widget-list.section-2.js-sectiontype-notice.h-clearfix.l-col__large-12.l-col__small--full {
height: 46px;
}
.canvas-widget-list.section-2.js-sectiontype-notice.h-clearfix.l-col__large-12.l-col__small--full {
height: 45px;
margin-top: -50px;
}
David Karol
03-19-2016, 03:57 AM
Try this code. You will need to adjust to clear the search bar or just move it beneath the search bar.
button.is-topic.button.follow-btn.uppercase.h-left.secondary {
position: absolute;
bottom: 105px;
right: -1em;
}
.canvas-widget-list.section-2.js-sectiontype-notice.h-clearfix.l-col__large-12.l-col__small--full {
height: 46px;
}
.canvas-widget-list.section-2.js-sectiontype-notice.h-clearfix.l-col__large-12.l-col__small--full {
height: 45px;
margin-top: -50px;
}
This will end up breaking the content slider. How about moving in line with the FORUMS and LATEST ACTIVITY, or the PAGE TITLE areas in the screenshot from the last post? I think going in line with those would make sense to save on space.
Replicant
03-19-2016, 04:03 AM
This will end up breaking the content slider. How about moving in line with the FORUMS and LATEST ACTIVITY, or the PAGE TITLE areas in the screenshot from the last post? I think going in line with those would make sense to save on space.
I'd need a link to the site to dial it in. PM if you want.
shimei
03-19-2016, 09:10 PM
I'd need a link to the site to dial it in. PM if you want.
Could you also share what you did Replicant. I would like the subscribe button to be inline with the forum, latest activity, and subscription menu too. I would just like the subscription button moved down onto the grey menu bar: https://www.christforums.org/forum/christian-community/christianity-science/11192-poll-question-creationism-oec-or-yec
With the code you had provided I am only able to move the subscription button behind it and not on it.
Replicant
03-20-2016, 12:30 AM
Could you also share what you did Replicant. I would like the subscribe button to be inline with the forum, latest activity, and subscription menu too. I would just like the subscription button moved down onto the grey menu bar: https://www.christforums.org/forum/christian-community/christianity-science/11192-poll-question-creationism-oec-or-yec
With the code you had provided I am only able to move the subscription button behind it and not on it.
We weren't able to get it to work, it broke the responsiveness and also didn't work on Safari. It's going to need a lot more tweaking and some media queries to get it working and I still have no clue what to do about Safari as I have no access to a machine that has it.
noypiscripter
04-24-2016, 04:24 AM
These position the Subscribe button to the rightmost spot without the big gap at the bottom. These should work on both desktop and mobile.
.conversation-content-widget .conversation-controls {
position: relative;
bottom: -22px;
z-index: 1;
margin: -26px 0 0;
right: 0;
float: right;
padding: 0;
}
.canvas-layout-container .canvas-widget.page-title-widget {
margin-bottom: 0;
}
I think that looks better than putting the Subscribe button right next to Posts and Latest Activity tabs.
David Karol
05-11-2016, 04:36 AM
These position the Subscribe button to the rightmost spot without the big gap at the bottom. These should work on both desktop and mobile.
.conversation-content-widget .conversation-controls {
position: relative;
bottom: -22px;
z-index: 1;
margin: -26px 0 0;
right: 0;
float: right;
padding: 0;
}
.canvas-layout-container .canvas-widget.page-title-widget {
margin-bottom: 0;
}
I think that looks better than putting the Subscribe button right next to Posts and Latest Activity tabs.
How does this end up looking on your end? It gives me a great starting point- thanks. Still not ideal though. The checkbox (admin only?) ends up being covered up, and we still have a bit of waste space.
noypiscripter
05-11-2016, 10:30 PM
I never tested it in Articles page so that CSS is for Forum pages only. Let me do the CSS for Articles page.
--------------- Added 1463013489 at 1463013489 ---------------
Are you hiding the floating bar and that checkbox in the screenshot is in the post and not in the floating bar?
Wmteknik
05-18-2016, 08:21 AM
thank you.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.