block-specific css classes

More
14 years 5 months ago #7225 by lcdservices
The divs contained within each template block should have a css class added that is specific to the block.

So in:
Code:
<!-- BOF above-description-line1 block -->

we should have:
Code:
<div class="lineinfo line1 above-description-line1">

Currently there's no easy way to isolate the blocks with css.

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #7229 by micker
Replied by micker on topic block-specific css classes
you can duplicate the base template in order to modifi and created your css id !

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #7235 by lcdservices
I know, and have done that.

I'm just suggesting that the default templates that ship with flexicontent should include block-specific css classes.

Presumably the whole point of having these content blocks is so you can handle each of the blocks differently. But currently the class styles assigned are pretty much the same for all blocks.

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #7265 by kenmcd
Replied by kenmcd on topic block-specific css classes
.
@lcdservices

This sounds like a good idea.
Do you have a patch and/or some files you can share?

As long as it allows the current single CSS class method to function the same as it does,
it should not be an issue.


Moderator note: moved to Feature Requests forum

.

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #7268 by lcdservices
I've only modified one of the template files to meet my immediate needs. But you get the idea. See attached.

(remove the .zip extension, it's a php file)
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.748 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline