- Posts: 14116
- Thank you received: 1639
Register Now ! Button Background
-
oten
- Topic Author
- Visitor
11 years 9 months ago #27113
by oten
Register Now ! Button Background was created by oten
Earlier today I edited the Register Now button module, to change the text and link on it.
Problem is I changed the content without toggling the editor. After that, the green background was gone.
I haven't changed any module files other than some images.
My question is, how do I set it back? How do I change its color?
PS:
The code inside the module is:
Problem is I changed the content without toggling the editor. After that, the green background was gone.
I haven't changed any module files other than some images.
My question is, how do I set it back? How do I change its color?
PS:
The code inside the module is:
Code:
<p><span class="register_button"><a href="vitrine3.siteartifice.com">Inscreva-se Agora !</a></span></p>
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
11 years 9 months ago #27127
by ivan.milic
Replied by ivan.milic on topic Register Now ! Button Background
this is default html
Code:
<a class="register_button" href="/events/index.php/2011-04-19-08-41-50/contact">Register Now !</a>
The following user(s) said Thank You: oten
Please Log in to join the conversation.
-
oten
- Topic Author
- Visitor
11 years 9 months ago - 11 years 8 months ago #27133
by oten
Replied by oten on topic Register Now ! Button Background
Thank you!
Still, It looks like it is now displaced down (by exactly 17 pixels), overlaping the images...
But I have not edited anything outsite that custom html module!
How do I reposition it back? Do I have to hardcode an offset or something?
Still, It looks like it is now displaced down (by exactly 17 pixels), overlaping the images...
But I have not edited anything outsite that custom html module!
How do I reposition it back? Do I have to hardcode an offset or something?
Last edit: 11 years 8 months ago by oten.
Please Log in to join the conversation.
-
oten
- Topic Author
- Visitor
11 years 9 months ago - 11 years 9 months ago #27142
by oten
Replied by oten on topic Register Now ! Button Background
It doesn't matter what I change inside the Module, it won't go back to its original place.
As a may-be problematic change, I tried to use the "Select a Background-Image" basic option on the right panel of the module editor, maybe that has something to do with it.
But I can guarantee i haven't edited any .css or php files.
Anyone knows how to fix this displace?
Thanks!
EDIT
I ended up hardcoding a fix for it, as seen in this topic:
www.hotjoomlatemplates.com/support-forum...-link-position-moved
I reassure, I made no changes to any css nor php files, can't understand how the module got displaced...
As a may-be problematic change, I tried to use the "Select a Background-Image" basic option on the right panel of the module editor, maybe that has something to do with it.
But I can guarantee i haven't edited any .css or php files.
Anyone knows how to fix this displace?
Thanks!
EDIT
I ended up hardcoding a fix for it, as seen in this topic:
www.hotjoomlatemplates.com/support-forum...-link-position-moved
I reassure, I made no changes to any css nor php files, can't understand how the module got displaced...
Last edit: 11 years 9 months ago by oten.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 9 months ago #27164
by ivan.milic
Replied by ivan.milic on topic Register Now ! Button Background
Because editor inserted <p> ... </p>, when you save from HTML view it does not that taht
Please Log in to join the conversation.
-
oten
- Topic Author
- Visitor
11 years 8 months ago - 11 years 8 months ago #28147
by oten
Replied by oten on topic Register Now ! Button Background
It looks like the workaround I used doesn't work every time.
Still, if I save the html content under the html view, joomla still adds the <p> tags...
Well, I simply went into myphpadmin and removed the <p> tags the "bad practice" way. May be bad practice, but looks like it worked.
Still, if I save the html content under the html view, joomla still adds the <p> tags...
Well, I simply went into myphpadmin and removed the <p> tags the "bad practice" way. May be bad practice, but looks like it worked.
Last edit: 11 years 8 months ago by oten.
Please Log in to join the conversation.
Time to create page: 0.159 seconds