Using NSP GK5 responsive at Creativity template

Responsive, suitable for any type of business, built for any needs elegant one-page Joomla template.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Feb 09, 2014 11:44 am
Reply with quote
Report this post
Hello,
I'm using NSP G5k at creativity template, under joomla 3.2.2,
I'm using "News Block" style for a module nsp gk5. at desktop view everything looks great, but in mobile view title aren't displayed correctly (due to padding issues). I added to "mobile.css" padding modifications for a class but doesn's work.

Code: Select all
gkNspPM-NewsBlocks > figure > figcaption {
       padding: 0px 5px 5px!important;}



Thanks,
David N.
User avatar
Expert Boarder

GK User
Sun Feb 09, 2014 1:14 pm
Reply with quote
Report this post
Hello,

The code should be following:

Code: Select all
.gkNspPM-NewsBlocks > figure > figcaption {
       padding: 0px 5px 5px!important;
}
User avatar
Administrator

GK User
Mon Feb 10, 2014 7:54 am
Reply with quote
Report this post
Dziudek, thanks for your quick response. Anyway, I change it on mobile.css, but still get
Code: Select all
.gkNspPM-NewsBlocks > figure > figcaption
from style.css :(
User avatar
Expert Boarder

GK User
Mon Feb 10, 2014 8:03 am
Reply with quote
Report this post
Please try to use more complex selector i.e.:

Code: Select all
body .gkNspPM-NewsBlocks > figure > figcaption
User avatar
Administrator

GK User
Mon Feb 10, 2014 8:10 am
Reply with quote
Report this post
No changes :(
User avatar
Expert Boarder

GK User
Mon Feb 10, 2014 8:25 am
Reply with quote
Report this post
Please provide me an URL to your website.
User avatar
Administrator

GK User
Mon Feb 10, 2014 8:40 am
Reply with quote
Report this post
I send you a PM with URL and user/password to access it.
Thanks,
David N.
User avatar
Expert Boarder

GK User
Mon Feb 10, 2014 8:52 am
Reply with quote
Report this post
You have used wrong selector - without space between body and CSS class. Additionally as I see you should add the code in the tablet.css not in the mobile.css file - please try this one:

Code: Select all
body .gkNspPM-NewsBlocks > figure > figcaption {
  padding: 0px 5px 10px 0px;!important;
  font-size: 12px!important; 
}
body .gkNspPM-NewsBlocks > figure > figcaption h3 {
   font-size: 14px;
}
User avatar
Administrator

GK User
Mon Feb 10, 2014 9:29 am
Reply with quote
Report this post
Hello, It works, thanks a lot for your help.
User avatar
Expert Boarder


cron