Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Avatars in topic view
Avatar
Alex T
Member
sp_UserOfflineSmall Offline
Oct 21, 2015 - 3:53 pm

Ike said
That is strange.. Just repeated the process and works fine locally.

Could you try adding it to the end of the parent themes stylesheet?

Do you mean at the end of the reboot.php?  Not the child, correct?  

Like this:

@media screen and (max-width: 379px) {
#spMainContainer #spLastVisitLabel {
display: none;
}
}

#spMainContainer .spTopicPostSection .spPostUserAvatar img {
width: 100px;
}

/* ====================================================================================
If you DO make style changes (see Warning above) then ensure they are made ABOVE
this comment
================================================================================= */

 

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 21, 2015 - 3:55 pm

Yes that should do. Does it work?

Avatar
Alex T
Member
sp_UserOfflineSmall Offline
Oct 21, 2015 - 4:10 pm

Ike said
Yes that should do. Does it work?

Ok, now it works!  

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 21, 2015 - 5:02 pm

Strange, not sure why it wouldn't work in the child theme stylesheet. I've just tried again, fresh child theme framework. I copied your code from above and pasted it into the child theme stylesheet, with nothing else in there and it works perfectly.

Can you just check to see if any other CSS in your child theme stylesheet is being applied properly?

Avatar
Alex T
Member
sp_UserOfflineSmall Offline
Oct 22, 2015 - 11:42 am

Ike said
Strange, not sure why it wouldn't work in the child theme stylesheet. I've just tried again, fresh child theme framework. I copied your code from above and pasted it into the child theme stylesheet, with nothing else in there and it works perfectly.

Can you just check to see if any other CSS in your child theme stylesheet is being applied properly?

Actually, no...I had to create the reboot.php copy to stick in the child theme just for this.  

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 22, 2015 - 12:26 pm

Now I'm confused! So where had you put it before when it didn't work?

Avatar
Alex T
Member
sp_UserOfflineSmall Offline
Oct 22, 2015 - 12:54 pm

Ike said
Now I'm confused! So where had you put it before when it didn't work?

In reboot.php in the child. 

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 22, 2015 - 2:34 pm

Sorry I'm lost there, but is it working OK?

If not please elaborate, I started to get lost when you were talking about creating the reboot.php copy..

Avatar
Alex T
Member
sp_UserOfflineSmall Offline
Oct 22, 2015 - 5:37 pm

Ike said
Sorry I'm lost there, but is it working OK?

If not please elaborate, I started to get lost when you were talking about creating the reboot.php copy..

It works, but it doesn't work if it's just in the area where you told me to place it in the reboot.php in the child theme.  It only started working when I placed it in the bottom section in the main reboot.php.  

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 23, 2015 - 4:58 am

This suggests to me that your 'child' theme is not set up properly. Made more difficult to discuss and describe because it has the same name. Would you agree @ike ?

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620