XSitePro Website Design Software Message Board

The online forum dedicated to XSitePro users. Get help with website design in general and using this popular and incredibly powerful website software
It is currently Wed May 22, 2013 7:17 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Default Font CSS
PostPosted: Sat Apr 10, 2010 4:39 am 
Offline

Joined: Sat Apr 10, 2010 4:35 am
Posts: 6
Hi guys,

Sorry if this has been covered before but im having trouble changing the default font to Ariel. Could someone just post the code to over right the CSS in the global scripts to double check im doing it right please?

Thanks in advance,

Martin


Top
 Profile  
 
 Post subject: Re: Default Font CSS
PostPosted: Mon Apr 12, 2010 5:30 am 
Offline
User avatar

Joined: Tue Mar 03, 2009 8:24 am
Posts: 410
You can change the default in the Page Layout tab, you don't need CSS :)


Top
 Profile  
 
 Post subject: Re: Default Font CSS
PostPosted: Mon Apr 12, 2010 12:27 pm 
Offline

Joined: Sat Apr 10, 2010 4:35 am
Posts: 6
Hi,

Sorry, I didnt make myself very clear. XSitePro always defaults to Verdana and it becomes a pain (for me anyway :roll: ) for me to be always switching the fonts back to Ariel, my preffered choice. Every time I add a new page, I have to change it constantly whilst making changes as it keeps jumping back to Ariel.

Maybe its just me, but im sure I read somewhere you can default the font to your choice?

Thanks


Top
 Profile  
 
 Post subject: Re: Default Font CSS
PostPosted: Mon Apr 12, 2010 7:33 pm 
Offline
User avatar

Joined: Fri Jun 13, 2008 12:54 pm
Posts: 2996
Location: South Bend, IN USA
Hi,

If you want it Ariel every time, create your own 'User Template' then load that every time you start a new site. Otherwise set it to Ariel (Main Panel) and leave it, it works fine.

_________________
-Brett...

Image

Image

XSitePro Templates - $297 | XSitePro Membership Sites, XSitePro Shopping Carts, XSitePro Scripts Integration


Top
 Profile  
 
 Post subject: Re: Default Font CSS
PostPosted: Mon Apr 12, 2010 9:13 pm 
Offline

Joined: Tue Sep 08, 2009 12:15 am
Posts: 29
Hi

I also find the "H1" header tag font very big, so I tend to set H2 for all my headers. Is here a way to change the settings and if so, will it affect across the board to all my websites when reposted?

Grateful for advise


Top
 Profile  
 
 Post subject: Re: Default Font CSS
PostPosted: Tue Apr 13, 2010 1:12 am 
Offline

Joined: Sat Apr 10, 2010 4:35 am
Posts: 6
Hi Brett,

Thanks for the reply, ill give that a shot. Pretty new to it all but im sure ill get my head round it.

Thanks again.


Top
 Profile  
 
 Post subject: Re: Default Font CSS
PostPosted: Tue Apr 13, 2010 4:22 pm 
Offline
User avatar

Joined: Sat Aug 30, 2008 7:22 pm
Posts: 1888
Location: The road less traveled...
pgoh wrote:
Hi

I also find the "H1" header tag font very big, so I tend to set H2 for all my headers. Is here a way to change the settings and if so, will it affect across the board to all my websites when reposted?

Grateful for advise


You can change the H1 font size and style for your whole site in XSP by inserting a small script in the HEAD section of each page.

1. Click Other
2. Select Global Scripts
3. Select In the HEAD Section of the Page
4. Insert your code:

Code:
<style>
h1{ font-family: arial, helvetica, sans-serif; /* or whatever you want */
margin:0; /* or whatever you want - you can also specify top, right, bottom and left margins */
font-size: 16pt;  /* or whatever you want */
display: inline;
}
</style>

Click OK

Now the H1 text will be 16pt - Arial - Bold.

_________________
XSitePro runs great on HostGator (WordPress does, too)
Image


Last edited by CopyWolf on Thu Apr 15, 2010 2:31 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Default Font CSS
PostPosted: Tue Apr 13, 2010 7:51 pm 
Offline

Joined: Tue Sep 08, 2009 12:15 am
Posts: 29
Thanks CopyWolf

It works great. I wish I have more html coding knowledge. Just wondering if we put in the global code hope it doesn't affect the original settings in the software, causing confusions to the search engines? BTW is H1 called the "title tag"? I also notice H1 is normally in search engine display, so this is most important for page setting?
Thanks again.

Philip.


Top
 Profile  
 
 Post subject: Re: Default Font CSS
PostPosted: Thu Apr 15, 2010 8:18 am 
Offline
User avatar

Joined: Sat Aug 30, 2008 7:22 pm
Posts: 1888
Location: The road less traveled...
pgoh wrote:
Thanks CopyWolf

It works great. I wish I have more html coding knowledge. Just wondering if we put in the global code hope it doesn't affect the original settings in the software, causing confusions to the search engines? BTW is H1 called the "title tag"? I also notice H1 is normally in search engine display, so this is most important for page setting?
Thanks again.

Philip.


Phillip,

Styling the H1 text won't affect the search engines. They are looking at the text (content) between the <h1> and </h1> tags. The H1 text is in the body of your page.

The "title tag" is something different. It goes in the <head> section of your HTML code and defines the title for your page.

Code:
<html>
<head>
<title>Title of the document</title>
</head>

<body>

<h1>Here is my H1 text</h1>

Here is more content ......etc....

</body>

</html>


The title tag or element: provides a title in the browser toolbar, displays a title for the page in search-engine results and provides a title for the page when it is added to favorites.

_________________
XSitePro runs great on HostGator (WordPress does, too)
Image


Top
 Profile  
 
 Post subject: Re: Default Font CSS
PostPosted: Sat May 08, 2010 11:11 am 
Offline

Joined: Fri Nov 06, 2009 7:52 am
Posts: 40
CopyWolf wrote:
pgoh wrote:
Hi

I also find the "H1" header tag font very big, so I tend to set H2 for all my headers. Is here a way to change the settings and if so, will it affect across the board to all my websites when reposted?

Grateful for advise


You can change the H1 font size and style for your whole site in XSP by inserting a small script in the HEAD section of each page.

1. Click Other
2. Select Global Scripts
3. Select In the HEAD Section of the Page
4. Insert your code:

Code:
<style>
h1{ font-family: arial, helvetica, sans-serif; /* or whatever you want */
margin:0; /* or whatever you want - you can also specify top, right, bottom and left margins */
font-size: 16pt;  /* or whatever you want */
display: inline;
}
</style>

Click OK

Now the H1 text will be 16pt - Arial - Bold.


What do I have to write if I want to change the color of that H1 font as well, please?

Thank you

_________________
Favorite sites
http://ikeatvstands.com
http://webberbbq.net
http://babysleepingbagx.com


Top
 Profile  
 
 Post subject: Re: Default Font CSS
PostPosted: Sat May 08, 2010 12:27 pm 
Offline
User avatar

Joined: Sat Aug 30, 2008 7:22 pm
Posts: 1888
Location: The road less traveled...
arigoldfarb wrote:
CopyWolf wrote:
pgoh wrote:
Hi

I also find the "H1" header tag font very big, so I tend to set H2 for all my headers. Is here a way to change the settings and if so, will it affect across the board to all my websites when reposted?

Grateful for advise


You can change the H1 font size and style for your whole site in XSP by inserting a small script in the HEAD section of each page.

1. Click Other
2. Select Global Scripts
3. Select In the HEAD Section of the Page
4. Insert your code:

Code:
<style>
h1{ font-family: arial, helvetica, sans-serif; /* or whatever you want */
margin:0; /* or whatever you want - you can also specify top, right, bottom and left margins */
font-size: 16pt;  /* or whatever you want */
display: inline;
}
</style>

Click OK

Now the H1 text will be 16pt - Arial - Bold.


What do I have to write if I want to change the color of that H1 font as well, please?

Thank you


You just add color: #0000FF; (or whatever color you want) to the above code before the } closing bracket.

_________________
XSitePro runs great on HostGator (WordPress does, too)
Image


Top
 Profile  
 
 Post subject: Re: Default Font CSS
PostPosted: Sun Jan 22, 2012 8:37 pm 
Offline

Joined: Sun Jan 31, 2010 5:26 pm
Posts: 10
Thank you for posting these instructions. I, too, have often used the H2 or H3 tags instead of the one I wanted to use because I couldn't figure out how to change it.

I feel that the XSP designers could make this process a whole lot easier for those of us who have purchased XSP because we don't know a lot about scripts and coding. Or at least make the script menu more "fill in the blank." That global script menu is not intuitive.

The header tags are so important and have such an impact on the appearance of a page that we should be able to use the super-duper-easy-right-click-menu to make some quick and easy changes to the font, size and color of the header tags.

Perhaps they could work this into the next upgrade (pretty please)?


Top
 Profile  
 
 Post subject: Re: Default Font CSS
PostPosted: Sun Jan 22, 2012 10:15 pm 
Offline
User avatar

Joined: Sat Aug 30, 2008 7:22 pm
Posts: 1888
Location: The road less traveled...
BTW, It is not necessary to add the "bold" property to H1, H2, H3, H4 tags, as most browsers render H tags as bold by default.

_________________
XSitePro runs great on HostGator (WordPress does, too)
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: Exabot [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group