Text Allignment With Update 9.0.2.1699
Autore: Vedat G.
Visite 2384,
Followers 1,
Condiviso 41
Hi,
Importing from V8 all center text allignment is imported as left text allignment.
Best Regards,
Vedat
Postato il
Autore
I am following up. You can no longer make the text centered.
Autore
An example: in a text area html code enabled try this:
<H3>Masterpieces of Metal Wall Art by USA Artists</H3>
You can not make it centered as used to.
Hi Vedat!
Actually I see that centered. Is your Evo 9 up to date? We released an update yesterday. Please let me know!
Thank you!
Autore
Hi Samantha,
I did get the update. I have it on the subject. That's when I decided to go with V9. Imported the project from V8. And I saw all the pages had the H3 tag and text became left alligned. I have re-done the cells. But unfortunately it was stil left alligned. I had to remove the H3 tags for the text to be centerd again.
The site is at http://www.gurtan.com
"Masterpieces of Metal Wall Art by USA Artists" is centered but I no longer have the H3 tag in that cell.
I have some hidden pages that I left the H3 tag. You can see one example of that page at http://www.gurtan.com/spring-blossoms-metal-wall-art.html text can no loger be centered.
Best Regards,
Vedat
I'm sorry but I am not able to open the link you gave me to your website. It says 'impossible to contact the server - www.gurtan.com not found''. Could you please kindly attach screenshots and point out where the text is out of place?
Thank you!
Autore
Hi Samantha,
Trying to fix the allignment issue I have re-done it in V9. But this time it even made the H3 tag and the text in the same text box scrambled, in other words made it look like a line or samaller text, again alligned to the left only even though I set it to allign center. Sorry I had to change the site. But I am attaching a screen shot of the issue right after importing V8 site to V9.
Continuation of this issue is under a new topic at
http://answers.websitex5.com/post/4733
Best Regards,
Vedat
Thank you so much for the screenshot! Very useful!
In the text object you can not add all the exhisting tags. On the basis of HTML code rules for example, you can not use tags like <h1>, <h2>, <h3> etc and <p> tag.
This is because the text object already uses the <p> tags therefore if you add <h1> tag (for example) it goes into the <p> tag. Html rules forbid this so the code does not work.
This also depends on the new HTML 5 codes that we are now using, this is somehow more restrictive thanHTML4. Other tags like the <font> for example, have been completely removed. If you have used this last <font> tag previously, you now have to use <span>.
You can solve all your problems by using the HTML object instead of the text object. The ''enable HTML code'' option in the text object has to be used only for small variations or to add anchors.
Tags like <a>, <b>, <u>, <i>, <ul>, <li> etc. are supported.
The text object is not able to support PHP, it is much better for you to use the HTML object.
Have a lovely evening!
Autore
Hi Samantha,
Thank you so much! Steve explained it similar as well. That's I call reasonable answers from reasonable people.
I have been trying to get the H3 tag up again.
I put the following line in an html area;
<H3>Masterpieces of Metal Wall Art by USA Artists</H3>
In the expert area I put the following css code.
{color:black;font-size:18pt;font-family:"Tahoma";text-align:center;}
It comes up centered, but the text is not 18 points, it is so small, I am not sure if it is even using Tahoma font or not, hard to see.
This is the only html tag I use on the pages. Am I doing something wrong?
Best Regards,
Vedat
Your welcome!
Your codes seem correct. Could you please kindly give me your URL so that I may check from there?
Thanks!
Autore
Hi Samantha,
Because it did not look right I have not published it yet. With exactly the above settings I am attaching a screen shot. The same words you see right under it is text only cell in 18 Points as published at http://www.gurtan.com
Best Regards,
Vedat
Hi Vedat!
The ''problem'' is that I need to see the websites CSS...I can't help you without that. You can try to publish your project in a subfolder and give it to us so that maybe a user can give you a suggestion on how to fix it.
We give assistance for the program and we can suggest you something for your own CSS but I don't think I can help you any futher I'm afraid!
Thank you!
Autore
Hi Samanta,
Ok, I did'n think of it this way. I published the test site at
http://www.ajdapekkan.com/gurtan/
(The reason is if I do it on a subfolder on my site Google crawls, it gives me duplicate title warnings same title is used in such and such pages etc. When I delete the test subfolder, then it starts giving me 404 not found errors)
I would hate Google taking points off because of that.
Best Regards,
Vedat
Hi Vedat,
first of all the ''H'' has to be written like this in order to work correctly: <h3 style=....
In the page you linked above, I can not see the CSS code you wrote above, that's why it can not work. You can link them toghether like this:
<h3 style="color:black;font-size:18pt;font-family: Tahoma;text-align:center;">Masterpieces of Metal Wall Art by USA Artists</h3>
Add it to your project with the ''HTML and Widgets Object''.
Please keep in mind for the future that we can assist you for any kind of problem you have with the program but we can not be responsible or help you with your personal HTML code.
Thank you for understanding.
Autore
Hi Samantha,
I appreciate the help. I will give it a try. The css code is there though. I gave you the screen shot.
But this is not a personal HTML code problem. This was imported from V8. I understand you indicated any other H codes can not be used, H3 should be. Text area clearly has an HTML code function, I hate to repeat myself.
Best Regards,
Vedat
Autore
Follow up on my post: The code you gave me works both as an H3 or h3. I have published it at http://www.gurtan.com
That means X5 is not combining the html code and css code. That also means html code function in text area is not working for H3 tag for sure. (I have not tried or used any other html codes)
Best Regards,
Vedat
Dear Vedat,
thank you for updating me!
I put in connection the html code with the css code because in the test site you kindly gave me, I did not find the css code as I said above and the two codes have to be connected in order to work correctly. WebSite X5 does connect HTML codes with CSS or else it wouldn't work properly.
Autore
Hi Smantha,
I did say for h3 tag. You do have a copy of the V9. Please try this for h3 tag and test it. Because it dos not display right even when testing.
Please place this one in the text cell
<h3>X5 Best Web Builder</h3>
Please place this one at the advanced area as css code, without combining them.
{color:black;font-size:18pt;font-family:"Tahoma";text-align:center;}
When you do the test the only css code works correctly is the "center " css code.
I have solved my problem, but this may happen to somebody else in the future. There really may be something you may need to correct.
Best Regards,
Vedat
Yes, that happens because you need to use the HTML object to add HTML codes to your project, the ''enable HTML code'' option in the text object has to be used only for small variations or to add anchors.
Please try to add <h3>X5 Best Web Builder</h3> in the HTML object - HTML code section and this {color:black;font-size:18pt;font-family:"Tahoma";text-align:center;} in the Expert section - CSS code, and test it. It will work correctly!
Autore
Hi Msamantha,
Obviously you have not tested.
Here is the test screen shot again. The only css code works is the "center"
Best Regards,
Vedat
I did test it, I'm sorry I did not notice the font style, please have patience.
You do not see it correct because your CSS code isn't correct! You need to add ''h3'' in front of it...it should be:
h3{color:black;font-size:18pt;font-family:"Tahoma";text-align:center;}
Please add the HTML object to your page and add ''<h3>X5 Best Web Builder</h3>'' in the HTML object - HTML code section and this ''h3{color:black;font-size:18pt;font-family:"Tahoma";text-align:center;}'' in the Expert section - CSS code, and test it.
Autore
Hi Samantha,
Now it works!! So far I have not been told to add h3 in front of the css as well. I have been driving mysef crazy here thinking we are probably using different version of X5 or something.
I have the new attachment.
Best Regards,
Vedat
Great! I'm glad we have managed to solve the issue! Yes you need to add it or else it will not be attached to the previous code, therefore it will not apply the font style.
Thank you for your screenshot! Please sign as ''correct'' the answer you prefer in order to close this post!
Have a lovely weekend!