[SOLVED] How to access stylesheet for CGBlog

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm
Location: Minneapolis, MN

[SOLVED] How to access stylesheet for CGBlog

Post by twwitt »

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
Last edited by twwitt on Sun Jul 18, 2010 10:09 pm, edited 1 time in total.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: How to access stylesheet for CGBlog

Post by jmcgin51 »

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.
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm
Location: MI

Re: How to access stylesheet for CGBlog

Post by Jeff »

Stylesheet attach to page templates not to individual module templates.
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm
Location: Minneapolis, MN

Re: How to access stylesheet for CGBlog

Post by twwitt »

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?
JeremyBASS

Re: How to access stylesheet for CGBlog

Post by JeremyBASS »

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
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm
Location: Minneapolis, MN

Re: How to access stylesheet for CGBlog

Post by twwitt »

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...
Last edited by twwitt on Sun Jul 18, 2010 8:03 pm, edited 1 time in total.
jpatti
Forum Members
Forum Members
Posts: 41
Joined: Mon Jun 28, 2010 1:43 am

Re: [SOLVED] How to access stylesheet for CGBlog

Post by jpatti »

Yes.
Post Reply

Return to “Modules/Add-Ons”