Elegance Theme Problems (Slideshow)

Re: Elegance Theme Problems (Slideshow)

Mary Evans
Number of replies: 7
Core developers 사진 Documentation writers 사진 Peer reviewers 사진 Plugin developers 사진 Testers 사진

Try adding this CSS to the Custom CSS box.

.banner {
    position: relative;
    width: 100%;
    overflow: auto;

    font-size: 18px;
    line-height: 24px;
    text-align: center;

    color: rgba(255,255,255,.6);
    text-shadow: 0 0 1px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.3);

    background-color: #5b4d3d;
    box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.banner ul {
    list-style: none;
    width: 300%;
    padding: 0;
    margin: 0;
}

.banner ul li {
    display: block;
    float: left;
    width: 33%;
    padding: 200px 0;
    min-height: 200px;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
    box-shadow: inset 0 -3px 6px rgba(0,0,0,.1);
}

In reply to Mary Evans

Re: Elegance Theme Problems (Slideshow)

Roberto Ferrera

Hello Mary,

I would like to ask how do you change the color of URL button for each of the slide in elegance theme?


Thank you very much

In reply to Roberto Ferrera

Re: Elegance Theme Problems (Slideshow)

Mary Evans
Core developers 사진 Documentation writers 사진 Peer reviewers 사진 Plugin developers 사진 Testers 사진

Hi Roberto,

if you look here...

https://github.com/thedannywahl/moodle-theme_elegance/blob/master/layout/includes/slideshow.php#L149

You will see that the button has its own class selector name 'btn'

if you add primary like so class='btn primary' 

the button will be blue.

if you wanted different colours for each button, all you need to do is add your own class selector next to 'btn' in that layout/includes/slideshow file.

then add some CSS rules for the colours in the Custon CSS area of the Elegance setting page.

For example

 class='btn olive'

.olive {color: #889900;}

Hope that helps?

Ciao

Mary

평균 등급 :Useful (1)
In reply to Mary Evans

Re: Elegance Theme Problems (Slideshow)

Roberto Ferrera

Great, thanks for the help.

Sorry I would like to ask again if you could change the position of the Tab.


Thank a lot

In reply to Roberto Ferrera

Re: Elegance Theme Problems (Slideshow)

Mary Evans
Core developers 사진 Documentation writers 사진 Peer reviewers 사진 Plugin developers 사진 Testers 사진

Tab? What tab?

평균 등급 :Useful (1)
In reply to Mary Evans

Re: Elegance Theme Problems (Slideshow)

Roberto Ferrera

Sorry for the term, kinda new in this moodle thing.


I mean the url button.




I want to transfer the url button to that specific location? is that possible?



Also, does the button always transparent, is it possible to color it green without clicking on it or point the mouse on it.

Thank you very much

In reply to Roberto Ferrera

Re: Elegance Theme Problems (Slideshow)

Greg Walters

Hi Mary,

Many apologies, I meant to reply to your last email a lot sooner.

Just to say, we got the slideshow working in elegance thanks.

Many thanks for your help with this.

Kind Regards,


Greg