You can edit the templates and move the related code to where you want.
You may need to make some CSS changes also.
A mockup of where you want it would help.
Thanks Brogan. My site is mainly articles and I have disabled reviews. It would be nice for me to have something like the attached.
<xen:comment>ADD BUTTON TO RESOURCE_VIEW</xen:comment>
<div><xen:if is="{$thread}"><a class="callToAction" href="{xen:link threads, $thread}"><span>
{xen:phrase discuss_this_resource}
<xen:if is="{$thread.reply_count}"><small class="minorText">{xen:phrase replies}: {xen:number $thread.reply_count}, {xen:phrase latest}: {xen:datetime $thread.last_post_date}</small></xen:if>
</span></a></xen:if>
</div>
<xen:sidebar>
/* STYLE DISCUSSION BUTTON BOTTOM OF PAGE */
.resource_view .callToAction {
margin-left:300px;
width:230px !important;
height:100px !important;
{
Mr C I agree with you and I have managed to add the button but can't style it for width and height.
The template is resource_view
Rich (BB code):<xen:comment>ADD BUTTON TO RESOURCE_VIEW</xen:comment> <div><xen:if is="{$thread}"><a class="callToAction" href="{xen:link threads, $thread}"><span> {xen:phrase discuss_this_resource} <xen:if is="{$thread.reply_count}"><small class="minorText">{xen:phrase replies}: {xen:number $thread.reply_count}, {xen:phrase latest}: {xen:datetime $thread.last_post_date}</small></xen:if> </span></a></xen:if> </div> <xen:sidebar>
<xen:sidebar> shows location in template.
The result is here http://www.housemorgain.co.uk/oval/resources/multiple-page-article.5/
at the bottom
I added this to EXTRA.css but no effect
Code:/* STYLE DISCUSSION BUTTON BOTTOM OF PAGE */ .resource_view .callToAction { margin-left:300px; width:230px !important; height:100px !important; {
Brogan come back! Ja a a ke Shelley ... someone?
Wouldn't you use the following? .resource_view a.callToAction
Seems like your missing two characters
.sidebar .callToAction
{
display: block;
text-align: center;
height: auto;
line-height: normal;
margin: 15px 0;
}
.sidebar .callToAction span
{
font-size: 12pt;
padding: 3px 0;
}
.sidebar small.minorText
{
display: block;
font-size: 11px;
font-weight: normal;
}
.mainContent a.minorText span {
font-size: 10pt;
font-weight: normal;
}
Yes thank you the height is good with auto
and the top button is now ok
shame to sacrifice the placing at centre of bottom one
but the background gradient needs a height control - despair no idea!
/* STYLE DISCUSSION BUTTON BOTTOM OF PAGE */
.mainContent a.callToAction span {
height: auto !important;
width: auto;
text-align: center;
font-size: 12pt;
border:1px solid #ffffff;
}
.mainContent a.minorText span {
font-size: 10pt;
font-weight: normal;
padding: 3px;
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.