Reseller

Started by Daniel, July 28, 2014, 09:19:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fortitude

hello?

any news about this?  :P

Daniel

a) You mean something like this: http://prntscr.com/79skjl ?

b) Index.css
Search:
/* The navigation list (i.e. linktree) */
.navigate_section
{
padding: 0;
margin: 0 0 20px;
background: #FFF;
}

Replace with:
/* The navigation list (i.e. linktree) */
.navigate_section
{
padding: 0;
margin: 20px 0;

}
#crumbs {
padding: 7px 0px;
}

#crumbs ul {
list-style: none;
/*display: inline-table;*/
display: table-row;
}
#crumbs ul li {
display: inline;
}

#crumbs ul li a {
display: block;
float: left;
height: 12.5px;
background: #34495e;
text-align: center;
padding: 7.5px 10px 23px 20px;
position: relative;
margin: 0 1px 0 0;
font-size: 12px;
text-decoration: none;
color: #ecf0f1;
}

#crumbs ul li a:after {
content: ""; 
border-top: 15px solid transparent;
border-bottom: 15px solid transparent;
border-left: 10px solid #34495e;
position: absolute; right: -10px; top: 0;
z-index: 1;
}

#crumbs ul li a:before {
content: ""; 
border-top: 15px solid transparent;
border-bottom: 15px solid transparent;
border-left: 10px solid #d4f2ff;
position: absolute; left: 0; top: 0;
}

#crumbs ul li:first-child a {
border-top-left-radius: 7px;
border-bottom-left-radius: 7px;
}
#crumbs ul li:first-child a:before {
display: none;
}

#crumbs ul li:last-child a {
padding-right: 20px;
border-top-right-radius: 7px;
border-bottom-right-radius: 7px;
background-color: #8e44ad;
}
#crumbs ul li:last-child a:after {
display: none;
}

#crumbs ul li a:hover {
background: #3498db;
}
#crumbs ul li a:hover:after {
border-left-color: #3498db;
}

Index.template.php
Search:
// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree($force_show = false)
{
global $context, $settings, $options, $shown_linktree;

// If linktree is empty, just return - also allow an override.
if (empty($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))
return;

echo '
<div class="navigate_section">
<div class="container">
<div class="row">
<ol class="breadcrumb">';

// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
echo '
<li', ($link_num == count($context['linktree']) - 1) ? ' class="active"' : '', '>';

// Show something before the link?
if (isset($tree['extra_before']))
echo $tree['extra_before'];

// Show the link, including a URL if it should have one.
echo $settings['linktree_link'] && isset($tree['url']) ? '
<a href="' . $tree['url'] . '"><span>' . $tree['name'] . '</span></a>' : '<span>' . $tree['name'] . '</span>';

// Show something after the link...?
if (isset($tree['extra_after']))
echo $tree['extra_after'];

echo '
</li>';
}
echo '
</ol>
</div>
</div>
</div>';

$shown_linktree = true;
}

Replace with:

// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree($force_show = false)
{
global $context, $settings, $options, $shown_linktree;

// If linktree is empty, just return - also allow an override.
if (empty($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))
return;

echo '
<div class="container">
<div class="row">
<div class="navigate_section" id="crumbs">
<ul>';

// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
echo '
<li', ($link_num == count($context['linktree']) - 1) ? ' class="active"' : '', '>';

// Show something before the link?
if (isset($tree['extra_before']))
echo $tree['extra_before'];

// Show the link, including a URL if it should have one.
echo $settings['linktree_link'] && isset($tree['url']) ? '
<a href="' . $tree['url'] . '"><span>' . $tree['name'] . '</span></a>' : '<span>' . $tree['name'] . '</span>';

// Show something after the link...?
if (isset($tree['extra_after']))
echo $tree['extra_after'];

echo '
</li>';
}
echo '
</ul>
</div>
</div>
</div>';

$shown_linktree = true;
}
Last Edit: May 26, 2015, 06:09:50 PM by Daniel

fortitude

Quote from: Daniel on May 26, 2015, 06:04:10 PM
a) You mean something like this: http://prntscr.com/79skjl ?


yes, I indeed mean something like that.  :)

& thank you so much for that crumbs menu. looks great! :D


btw. I've noticed that my previous and next links are not aligned;
I'm not sure would you need my .css file for that or?

Last Edit: May 27, 2015, 03:40:09 AM by fortitude

fortitude

I hope my persistence and nagging shall hopefully have effect and those few questions shall be answered.
It's been a blank week  with no reply. :P

Daniel

Sorry i forget this.
1 error
Reseller.css

Search:
.nextlinks_bottom{
clear: both !important;
}

Replace with:
.nextlinks_bottom{
clear: both !important;
padding-top: 15px;
}



a question
Reseller.css

Search:
.display-info
{
text-align: center;
overflow: hidden;
}
.display-info h1
{
font-size: 36px;
background: #E1E1E1;
border-radius: 5px;
border: 1px solid #CCC;
padding: 15px;
}

Replace with:
.display-info
{
overflow: hidden;
}
.display-info div
{
font-size: 36px;
text-align: center;
background: #3498db;
border-radius: 5px;
padding: 15px;
margin: 0 auto;
color: #FFF;
font-weight: bold;
display: table;
}

Display.template.php
Search:
<div class="display-info">
<h1>
', $context['subject'], '
</h1>

Replace with:
<div class="display-info">
<div>
', $context['subject'], '
</div>


Greetings!!

fortitude

thank you Daniel,

yet, this is really strange, but left one (previous )is for some reason lower than the right one (next),
and when I add padding it applies to both, and solution doesn't help.

Daniel

You have to undo the previous change. Do this:
Reseller.css
Search:
.nextlinks, .nextlinks_bottom{
margin-bottom: 15px;
}

Replace with:
.nextlinks, .nextlinks_bottom{
margin-bottom: 15px;overflow:hidden;
}

Add to the end:
.nextlinks a:last-of-type, .nextlinks_bottom a:last-of-type
{
float: right;
}

fortitude

You're a true sport, Daniel!  O:-)  This solved everything, THANKS   :D

I'm affraid to bother you any more, haha, tho I still have some questions up my sleeve.  :-[

amrit

Hi, first of all thank you for making such a great theme :)

However I am experiencing some issues with it, I have read all your support topics on SMF and also read support topics here but nothing seems to be working for me.
1. How do I completely remove responsiveness from reseller theme?
2. How do I add space between left, right and middle block on simple portal? I have read your reply on here http://www.simplemachines.org/community/index.php?topic=525855.msg3728281#msg3728281   but it only worked for google chrome, not for mozilla and IE. I tried clearing cache and everything.
3. I want to use user information in posts from wrap theme in reseller theme? how do I go about that?
4. How to increase the width of theme? again i tried searching for div container which you mentioned here http://www.simplemachines.org/community/index.php?topic=525855.msg3728281#msg3728281 but i did not find it in any css.
again thank you for your time and this great theme :)
Last Edit: June 06, 2015, 07:09:34 PM by amrit

Diego Andrés

Why do you want to remove responsiveness?

amrit

Quote from: Diego Andrés on June 07, 2015, 11:06:37 AM
Why do you want to remove responsiveness?
Hi , i have a wall system integrated on main page in simple portal and simple portal doesn't work properly with responsive themes so that is why i want to remove responsiveness.

Diego Andrés

There are a few post in the support topic (on smf) about making simple portal "responsive"

amrit

Quote from: Diego Andrés on June 07, 2015, 07:36:26 PM
There are a few post in the support topic (on smf) about making simple portal "responsive"
Is it possible if i can hire you or the developer of this theme to do customisations for me? :)

xpresskonami

How can I do this on my Reseller theme. I won't the Edge to Curve like the PC1 attachment I share.

PC2 attachment is the Reseller theme am using Right now!


Am trying to add a img background to the Reseller Theme Body. So if I add it. It cover up all the site pages. So am trying to separate the wrapper from the body so I can add the image to the background!

So where "Collpase Collapse" is shown in my PC2 attachment! I want it to curve as PC 1 attachment

Already Post it here
http://www.simplemachines.org/community/index.php?topic=525855.180;topicseen

odie

Hi Daniel, I really like the theme and the changes within this thread however I have a problem with the right margin when I go from main category screen to within category and also when viewing threads.

Can you assist?