Hi --
Am using CMSMS 1.81, and for the first time am toying with CGBlog 1.5, so this particular module is new to me. I have installed it and made a couple of posts (which are showing up on a page into which I've include {CGBlog}, but now I'm wanting to style it and have now idea how to proceed. I can understand CSS, but don't understand how stylesheets relate to these templates.
I see the various templates when I'm in the blog module (and those templates refer to styles), but I don't know where to access (or create) CSS that will attach to these templates. I thought it might be like the News module (which I don't really use either), where a Module:News stylesheet shows up in Layout-Stylesheets, but there is no CGBlog stylesheet there.
Is it somewhere else, or do I need to create my own? If so, how do I attach it to the module's templates?
Any help would be appreciate from those who have styled CGBlog.
Thanks,
-- Twwitt
[SOLVED] How to access stylesheet for CGBlog
[SOLVED] How to access stylesheet for CGBlog
Last edited by twwitt on Sun Jul 18, 2010 10:09 pm, edited 1 time in total.
Re: How to access stylesheet for CGBlog
some modules come with default stylesheets. If CGBlog does not, then you'll need to create a new one. To attach a stylesheet to a template, open the template and click the CSS link at the top of the page.
Re: How to access stylesheet for CGBlog
Stylesheet attach to page templates not to individual module templates.
Re: How to access stylesheet for CGBlog
Still not clear how to attach a stylesheet to the CGBlog module templates, or whether this can be done. It seems to me that there are references in the module templates to a stylesheet, but I have no idea where this stylesheet is or how to modify it, or to make a new one. Module help doesn't refer to stylesheets, I don't think. And can't find anything in the forum (at least in English) about this. Does anyone else do styling of CGBlog?
Re: How to access stylesheet for CGBlog
The reason you're not finding anything is because you're thinking of this in the wrong way.. like ajprog said "Stylesheet attach to page templates not to individual module templates." meaning the main template is what you attach it to like the rest of them that style the site..
http://screencast.com/t/YjIzMmZmNG
that is where you do it and just like this one has a new module template you would add your cgblog template..
http://screencast.com/t/MjBmNDg2Yzk
hope this helps clear things.. Cheers -Jeremy
http://screencast.com/t/YjIzMmZmNG
that is where you do it and just like this one has a new module template you would add your cgblog template..
http://screencast.com/t/MjBmNDg2Yzk
hope this helps clear things.. Cheers -Jeremy
Re: How to access stylesheet for CGBlog
Okay, I think I got it. I create my own stylesheet, perhaps calling it CGBlog stylesheet and attach it to my main page template, right?
But in that new stylesheet I want to add CSS to things like: class="CGBlogSummary" and class="CGBlogSummaryPostdate" and div id="CGBlogPostDetailDate", etc. that are referred to in the various CGBlog templates, right?
Sorry to be slow on this...
But in that new stylesheet I want to add CSS to things like: class="CGBlogSummary" and class="CGBlogSummaryPostdate" and div id="CGBlogPostDetailDate", etc. that are referred to in the various CGBlog templates, right?
Sorry to be slow on this...
Last edited by twwitt on Sun Jul 18, 2010 8:03 pm, edited 1 time in total.