How do I hide the Site Title?

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
3/31/2010 11:32:03 PM
Gravatar
Total Posts 9

How do I hide the Site Title?

I have a header graphic that incorporates the name of the site so I'd like to hide the site title on the header of every page.  In my searches, I've seen ways to manipulate/hide the page titles but not the main site title?  The only workaround I've found so far is to blank out the Site Title in the Site Settings and then it's gone, but that reference is nice to see in the config screens sometimes.

Any ideas?  I'm no CSS expert but if you can point me to right place in the right CSS file, I can probably remove/comment that out??

 

Thanks!

Darrin

4/1/2010 12:30:00 AM
Gravatar
Total Posts 550

Re: How do I hide the Site Title?

Hi Darrin,

Open the [YourSite]/Data/Sites/[1]/Skins/[YourSkin]/Style.css with a text editor(i.e. Notepad) find the following line:

.siteheading { font-size:130%; text-decoration:none; }

Change it to:

.siteheading { font-size:130%; text-decoration:none;  display:none;}
 

Hope Helps,

Asad

4/1/2010 1:14:15 AM
Gravatar
Total Posts 9

Re: How do I hide the Site Title?

Asad,

Thanks a lot for the quick response!!

 

My search for .siteheading uncovered one entry that was listed as h1.siteheading with more parameters than you had listed, but I assume it does the same thing?  I put the display:none in there.

 

I've copied the style.css up to the server via FTP and hitting refresh but it is either not picking up the new file (trick for this?) or the change isn't working.  I've cleared the browser cache and restarted the IIS service.

 

Thanks in advance for the help!

Darrin

4/1/2010 1:26:41 AM
Gravatar
Total Posts 550

Re: How do I hide the Site Title?

Darrin,

You shuld just change .siteheading tag and add this:  display:none;

If you can not see changes, you should do Clear cache in your browser.

Hope Helps,

Asad

4/1/2010 9:41:03 AM
Gravatar
Total Posts 18439

Re: How do I hide the Site Title?

It is also possible to just remove this from your layout.master

<portal:SiteTitle id="SiteTitle" runat="server"></portal:SiteTitle>

Another tip, once you have made CSS changes, while you can clear your own browser cache you cannot clear the cache for your visitors, so once you complete your css changes the best thing to do is make a new skin folder yourskin_versionx, copy the files into the new skin folder and then change the site to use the new skin. This way the url for the CSS will change and all browsers will load the new CSS whereas if the url does not change the browser may use the copy from cache.

This only applies to CSS since CSS is cahced by the browser, changes made in layout.master are always immediate.

Hope it helps,

Joe

4/1/2010 12:42:34 PM
Gravatar
Total Posts 9

Re: How do I hide the Site Title?

Thanks a lot guys!

The changes that I made last night magically appeared in my browser this morning when I woke up! :)  Not sure why exactly, but I'll take it.

I also appreciate the tip on copy the skin to a new folder...something I will keep in mind for future updates.

 

Thanks again!  My site is coming along slowly, but surely!

Darrin

You must sign in to post in the forums. This thread is closed to new posts.