Jump to content

4.2 ACP Login Background


Joey_M

Recommended Posts

Any help folks? It would be appreciated.

I can see from the inspect tool the following CSS, yet I can't get it work even by adding it to all of my themes.

body#elLogin {
    background: rgb(67,134,196);
    background: -moz-linear-gradient(-45deg, rgba(67,134,196,1) 0%, rgba(64,95,124,1) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(67,134,196,1) 0%,rgba(64,95,124,1) 100%);
    background: linear-gradient(135deg, rgba(67,134,196,1) 0%,rgba(64,95,124,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4386c4', endColorstr='#405f7c',GradientType=1 );
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    padding-top: 0;
}

 

Link to comment
Share on other sites

8 hours ago, Joey_M said:

Any help folks? It would be appreciated.

I can see from the inspect tool the following CSS, yet I can't get it work even by adding it to all of my themes.


body#elLogin {
    background: rgb(67,134,196);
    background: -moz-linear-gradient(-45deg, rgba(67,134,196,1) 0%, rgba(64,95,124,1) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(67,134,196,1) 0%,rgba(64,95,124,1) 100%);
    background: linear-gradient(135deg, rgba(67,134,196,1) 0%,rgba(64,95,124,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4386c4', endColorstr='#405f7c',GradientType=1 );
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    padding-top: 0;
}

 

Have you tried adding to custom.css as works for me:

body#elLogin {
  background: green;
}

obviously change background to your own requirements

Link to comment
Share on other sites

2 hours ago, steve00 said:

Have you tried adding to custom.css as works for me:


body#elLogin {
  background: green;
}

obviously change background to your own requirements

Oddly, I had tried using the above code by adding it to the custom.css and it didn't work.

I used yours and it worked.

So I cut the other parts of the code I found and just replaced the background part, it works fine now. Thank you.

Link to comment
Share on other sites

  • 2 weeks later...
2 minutes ago, Steph40 said:

@Joey_M

If you have an extra 10$ I use this and it is nice and easy:

 

Does this allow you to organise the tabs better also?

i.e you can move a main tab into a secondary position? I don't know why IPS hasn't added this by default but that does look awesome.

Link to comment
Share on other sites

Pages, System, Community, Members etc

My list of added applications is quite long now and I hate how I can only reorder them, instead of placing certain ones just inside secondary tabs to reduce the size/ease of use. Does this allow for that?

Link to comment
Share on other sites

2 minutes ago, Joey_M said:

My list of added applications is quite long now and I hate how I can only reorder them, instead of placing certain ones just inside secondary tabs to reduce the size/ease of use. Does this allow for that?

I just login in my site to check and unless I missed a setting somewhere No it does not. It would be nice though.

@All Astronauts do you think you could add that feature?

Link to comment
Share on other sites

32 minutes ago, Joey_M said:

The logo above the login box Steve, its by default IPS'.

The problem is when upgrade will rerun the script so any deleted default images going be added again so only way is add blank image should fix the issue but not tested it.

Link to comment
Share on other sites

16 minutes ago, Mark Round said:

Ok then mate crack on , I'll leave this to the experts .

Definitely not expert (you do themes yourself and know more than I do, wish I could add some of things you have in yours without touching templates)

First you would need to upload a logo/image to the Manage Resources area of theme you have set for the default admincp

admin2.thumb.jpg.911406e03bf2898ea82d1fa1f9074146.jpg

then in custom.css of the admincp default theme add:

.cAcpLoginBox_logo {
background: url({resource="logo.png" app="core" location="custom"}) no-repeat;
  height: 100px;
}

.cAcpLoginBox_logo img {
  display: none;
}

obviously change the resource to what is given in your Manage Resources after uploading logo (don't forget to add the height as per the above css to your image height)

Once all done and saved then should end up with similar to:

admin1.jpg.4c7dbca4d60d5e54530941eb80e066ea.jpg

NOTE: Might have to hard refresh before it will work but once it does then should always work

Let me know if works for you

Link to comment
Share on other sites

14 minutes ago, Mark Round said:

I think I just look at the complicated approach and sometimes miss  the easy fix haha

Easily done, hope it helps you

If only could do some of your changes/additions without touching templates .. but will keep trying (apparently am very trying ... according to my wife ... :lol:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...