Thank you Peter,

I finally managed to succeed with swapping the elements as advised and by 
also editing the "Sidebar" section in the 
SOURCES\dspace\modules\xmlui-mirage2\src\main\webapp\themes\Mirage2\styles\shared\_dspace-bootstrap-tweaks.scss
 
file (mainly changing left/right attributes).


Le lundi 28 septembre 2015 12:50:54 UTC-4, Peter Dietz a écrit :
>
> Hi Marie-Hélène,
>
> You should be able to just swap those two, and then the sidebar appears on 
> the left.
> We have done that for: http://dc.statelibrary.sc.gov/
>
> At Longsight, we use a customized variant of mirage2 that doesn't require 
> recompiling:
>
> https://github.com/LongsightGroup/DSpace/blob/longsight-5_x/dspace-xmlui/src/main/webapp/themes/scgov-mirage2/xsl/core/page-structure.xsl#L98-L103
>  
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FLongsightGroup%2FDSpace%2Fblob%2Flongsight-5_x%2Fdspace-xmlui%2Fsrc%2Fmain%2Fwebapp%2Fthemes%2Fscgov-mirage2%2Fxsl%2Fcore%2Fpage-structure.xsl%23L98-L103&sa=D&sntz=1&usg=AFQjCNFCGdaJKz02urz7Zb_SsjMkT5kRbQ>
>
> In our process I did not run into your issue of intermediate widths 
> rescaling.
>
> ________________
> Peter Dietz
> Longsight
> www.longsight.com
> [email protected] <javascript:>
> p: 740-599-5005 x809
>
> On Mon, Sep 28, 2015 at 12:45 PM, <[email protected] <javascript:>> 
> wrote:
>
>> Dear all,
>>
>> I'm trying to figure out how to properly swap the sidebar (cointaining 
>> dri:options) from right to left starting from the original Mirage2 layout 
>> (v. 5.3). I slightly changed the page-structure.xsl layout in order to have 
>> something like:
>>
>>
>> <div class="container" id="main-container">
>> <div class="row row-offcanvas row-offcanvas-*left*">
>> <div class="horizontal-slider clearfix">
>>
>> *<div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar" 
>> role="navigation"><div class="col-xs-12 col-sm-12 col-md-9 main-content">*
>>
>> instead of
>>
>> <div class="container" id="main-container">
>> <div class="row row-offcanvas row-offcanvas-right">
>> <div class="horizontal-slider clearfix">
>> <div class="col-xs-12 col-sm-12 col-md-9 main-content">
>> <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar" 
>> role="navigation">
>>
>> and haven't touched the *.scss files yet  for this specific change.
>>
>> but that's not quite it.... it's not rescaling/floating properly for 
>> intermediate widths. I'm trying to understand what 
>> http://getbootstrap.com/css/#grid-responsive-resets says about that but 
>> must say I would gladly appreciate help on this one as I'm not familiar 
>> with bootstrap. Anyone has done that on their DSpace site?
>>
>> Thanks
>>
>> Marie-Hélène Vézina
>> Université de Montréal
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to