Welcome, Guest
Username Password: Remember me

Simple request: Move the tag inside the
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Simple request: Move the tag inside the

Simple request: Move the tag inside the 16 Apr 2009 00:25 #768

I had the module looking just the way I wanted, using inline CSS in the "Span tag" fields to get the different fields to stand out from each other. But then I decided to make the title field a link. Whoops! My nice red title turned to cyan, the default color of <a> tags in my template overall, because the <a> tag is inside the <span> and therefore takes precedent in the CSS definitions. I thought I might be able to override it with a specification in my CSS file, but as you can see in the attached screen capture from Firefox's Developer Toolbar showing all the element's ancestors, there is nothing distinctive that I can get ahold of to reference the <a> tags in the Bible Study module without affecting links in other things (at least other things that are in heavily nested tables... hmm, maybe if I specify the exact number of tables or something...naa, too weird).

Long term it would be good if you used classes or ids to identify your module and all its pieces so that various other customization is possible, but the easy and direct solution to this issue is to move your <span> tag inside the <a>, so that when we put style information in the "Span tag" field that you provide, it will stay in effect even if we make the field a link. Would you consider doing that?
Attachments:
Joomla 1.5.10, Bible Study 6.0.11

Re:Simple request: Move the tag inside the 19 Apr 2009 18:34 #782

Any thoughts on this? If you can confirm that such a change will be in the next version, I'll go ahead and change it in my installation now (I don't like to make mods that will get wiped out when I upgrade).
Joomla 1.5.10, Bible Study 6.0.11

Re:Simple request: Move the tag inside the 19 Apr 2009 18:46 #784

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
It absolutely will be in the next version. I am in the process of creating tableless layouts for all views. I'm wrestling with learning css in order to do that - pray for me! But I plan to add suffixes to all classes, allowing the user to create their own css file or add to an existing one in order to modify all elements within biblestudy.

I will need some beta help in this - might call on you!
"You shall know the truth and the truth shall set you free." JC

Re:Simple request: Move the tag inside the 19 Apr 2009 19:23 #788

Oh yeah, I promised you a mockup of a "tableless" layout (except for the actual tabular content, which of course would still be a table), didn't I! I'll try to get that to you this week.
Joomla 1.5.10, Bible Study 6.0.11

Re:Simple request: Move the tag inside the 20 Apr 2009 07:31 #790

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
Thanks! I'll keep working at it - and await your assistance if you have time!
"You shall know the truth and the truth shall set you free." JC
  • Page:
  • 1
Time to create page: 0.59 seconds