Page 2 of 2«12
Forum moderator: bigblog 
uCoz Community » For Webmasters » Design Customization » Where is css template for appearence of photos???
Where is css template for appearence of photos???
Soldierdevil
Posts: 122
Reputation: 0

Message # 16 | 5:14 AM
Oh ok, thanks alot guys but nothing really worked. I tried on it all night but failed...i inserted the code everywhere but nothing worked. let me leave it..and ignore it.
I hate politics, people who do not make an effort with people and those who try hard to be cool
bigblog
yeah, i'm still here
Posts: 1363
Reputation: 65

Message # 17 | 9:58 AM
Soldierdevil, the code I provided in my previous message was only an example on how to use the !important tag. I took my time and wrote the entire code for your needs:
Code
.uEntryWrap {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box;
}

.entryBlock {
    display: block !important;
}

.uphoto {
    width: 100% !important;
}

.photo-block {
    display: block !important;
    text-align: center !important;
}

.ph-wrap {
    width: auto !important;
    height: auto !important;
    margin: 0 auto;
}

.ph-wrap img {
    width: auto !important;
    max-width: 100%;
}

.ph-tc {
    display: block !important;
    margin: 0 auto;
}

.ph-data {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
}

You need to put this into a media query to make it work only on smaller screens.

i breathe... sometimes
Soldierdevil
Posts: 122
Reputation: 0

Message # 18 | 2:37 PM
bigblog, i really love this..OMG it worked!!! like magic. Thank you so much for the time all along.
I hate politics, people who do not make an effort with people and those who try hard to be cool
Cyberdasm
Posts: 599
Reputation: 6

Message # 19 | 12:50 PM
Soldierdevil, If you use css overriding don't forget to add !important.
1F4BF3B

admin@lizeal.tk
www.lizeal.tk
Soldierdevil
Posts: 122
Reputation: 0

Message # 20 | 12:33 PM
bigblog, can i be helped on the same issue with the video entries?..align entries in center on portrait view..and display two columns on landscape view?
I hate politics, people who do not make an effort with people and those who try hard to be cool
bigblog
yeah, i'm still here
Posts: 1363
Reputation: 65

Message # 21 | 4:08 PM
Soldierdevil, here's the code:
Code
.rigm li {
    display: block !important;
    margin: 10px auto !important;
}


I'm afraid, it's not possible to display the elements in two columns, but I'll let you know if I find a solution to this.

i breathe... sometimes
Soldierdevil
Posts: 122
Reputation: 0

Message # 22 | 6:13 AM
bigblog, you inherited that code from my video informer styles. I meant original style for appearance of entries in video module with the 'v-entry' class
I hate politics, people who do not make an effort with people and those who try hard to be cool
bigblog
yeah, i'm still here
Posts: 1363
Reputation: 65

Message # 23 | 4:56 PM
Soldierdevil, similar:
Code
#uEntriesList .uEntryWrap {
    display: block !important;
    margin: 0 auto;
}

i breathe... sometimes
Soldierdevil
Posts: 122
Reputation: 0

Message # 24 | 5:33 AM
bigblog, thank you so much it worked
I hate politics, people who do not make an effort with people and those who try hard to be cool
uCoz Community » For Webmasters » Design Customization » Where is css template for appearence of photos???
Page 2 of 2«12
Search: