Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 1 Year, 2 Weeks ago Change position LEFT or RIGHT
#1
Solved: 1 Year, 2 Weeks ago
Hello,

I need to change this in xml file I just need the name to place it to left or right position look attachement


Attached Files Thumbnail(s)
   
Reply
#2
Solved: 1 Year, 2 Weeks ago
I'm not sure what you mean but if you want to remove it and have the theme up it should be on the index template I think?

To align items left and right you can use the following code.
float: right;
float: left;
Check out all my submissions here - click me
MyBB support at it's finest. 
Reply
#3
Solved: 1 Year, 2 Weeks ago
(10-06-2018, 06:45 PM)M!X0R Wrote: Hello,

I need to change this in xml file I just need the name to place it to left or right position look attachement


.xml file editing is not necessary nor optimal nor recommended..., you can edit via simple or advanced css & or template editor in acp and is the easy and recommended way to edit theme css or templates in mybb.

But, if you must insist upon editing via xml file..., you can run a find query for name="global.css" and name="index"


In global.css find:


.forum_legend, .forum_legend dt, .forum_legend dd {
    margin: 0;
    padding: 0;
}
.forum_legend dd {
    float: left; 
    margin-right: 10px;
    margin-top: 17px;
}
.forum_legend dt {
    float: left; 
    margin-right: 5px;
}



change to:


.forum_legend, .forum_legend dt, .forum_legend dd {
    margin: 0;
    padding: 0;
}
.forum_legend dd {
    float: right; 
    margin-right: 10px;
    margin-top: 17px;
}
.forum_legend dt {
    float: right; 
    margin-right: 5px;
}

that controls this part of the index template:


<dl class="forum_legend smalltext">
	<dt><span class="forum_status forum_on" title="{$lang->new_posts}"></span></dt>
	<dd>{$lang->new_posts}</dd>

	<dt><span class="forum_status forum_off" title="{$lang->no_new_posts}"></span></dt>
	<dd>{$lang->no_new_posts}</dd>

	<dt><span class="forum_status forum_offclose" title="{$lang->forum_closed}"></span></dt>
	<dd>{$lang->forum_closed}</dd>

	<dt><span class="forum_status forum_offlink" title="{$lang->forum_redirect}"></span></dt>
	<dd>{$lang->forum_redirect}</dd>
</dl>


Hopefully that is what you meant?  As your support request is fairly vague in explanation. Unless you actually meant "rtl" support of a theme?? like??


direction: rtl;

For that, all existing:

text-align: right;

in theme would need to be changed to:

text-align: left;

And all existing:

text-align: left;


in theme would need to be changed to:

text-align: right;

Not to mention a few left to right & right to left template edits.... and would be beyond the short scope of just a simple initial support response.
MyBB Themes Team - Making more professional themes by the hour. (Retired)
My Mods | Offer me a coffee!
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)