Thread Starter
devgirl
(@elfynity5)
ok, here goes, I worked it out!!!!
So, create a page.
This is what i put in my page. (the links I still need to add in)
<a href="#">Short Tops</a>
<a href="#">Short Dresses</a>
<a href="#">On Sale</a>
[catablog category="tops-dresses"]
Then every product that is in the tops-dresses categories will show up here.
Thread Starter
devgirl
(@elfynity5)
I’ve got a new problem. I’m trying to change the layout of the products in the default template in the backend. I’m bringing in my own custom css, but realised I have to use some of Catablogs classes so that the lightbox works for the image.
Thing is that when i start to customize it, i notice that there is this attribute sitting on the description and the title, and i can’t find it in the css files, cos it is not set there! Where is it set and how do i get rid of it?
.catablog-title {
margin: 0 0 0 160px !important;
}
I know, it looks like it should be in the css, but it is not. It seems to be created dynamically. I did an open search through all of catablog’s files to find ‘160’, and nothing pertaining to this came up ???
Thread Starter
devgirl
(@elfynity5)
i found this, what does it point to??
$inline_styles[] = ".catablog-description {margin:0 0 0 {$size1}px; !important}";
Thread Starter
devgirl
(@elfynity5)
I figured it out. I changed these two lines, 267 and 2268 in catablog/lib/CataBlog.class.php:
$inline_styles[] = ".catablog-title {margin:0 0 0 {$size1}px !important;}";
$inline_styles[] = ".catablog-description {margin:0 0 0 {$size1}px; !important}";
to this:
$inline_styles[] = ".catablog-title {margin:0;}";
$inline_styles[] = ".catablog-description {margin:0;}";
and it removed that horrible 160px that wouldn’t go away.
I really did try to find it in the Catablog WordPress backend.
Hi elfynity5, did you solve your own question? Could you post your URL here, I would be interested to see what it looks like now.
Kind regards
Thread Starter
devgirl
(@elfynity5)
I check your site and some of your links don’t work very well on Firefox. I am not sure if it is my version of FF or not. But I tried on Google and it works well. I just thought I would let you know.
Thread Starter
devgirl
(@elfynity5)
Look, I didn’t even want to give anyone the link cos I’m busy developing it right now as i type this and it will only be finished next week.
Thread Starter
devgirl
(@elfynity5)
I mean developing the website i gave you link for.
Yes I understand, sorry if I have caused you any problems with my comment.
If your issue has been resolved could you please close this ticket.
Kind regards
Thread Starter
devgirl
(@elfynity5)
It’s ok, it’s just that I am eyeballs deep in coding here with this website and still got a long way to go!
Yes I understand what you mean. It has happened to me in the past. If you need any advice I have no problem in helping you.
Kind regards