1
jpco_122122
Centering the Search!

In my right block I put the XOOPS search, now how can I edit the word "search" to align it to the left because as we can see it was align at the center?

Anyone can help?

2
ladon
Re: Centering the Search!
  • 2005/1/4 11:50

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


You can change the template of the searchblock. Go to admin/templates/system/system_block_search.html.

edit: you can't edit the default template, so if you don't use a different one, duplicate the default so you can edit that one.

3
jpco_122122
Re: Centering the Search!

yeah, i had done that so far and there is nothing to edit there here is the script






<{$block.lang_advsearch}>


what shall I edit here enable to align the word "search to the left side of the right block?

4
ladon
Re: Centering the Search!
  • 2005/1/4 12:57

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


you are on the right track:





<{$block.lang_advsearch}>

I made the changes bold. Although as far as i know it's always displayd aligned left. That is unless you didn't close some tags (or maybe intended) in your themefile.

5
jpco_122122
Re: Centering the Search!

Yes it will move only the button search but it is not, I like to move the word "Search" like the word "User Menu" which was aligned at the left of the right block.

6
ladon
Re: Centering the Search!
  • 2005/1/4 14:04

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


oh i see wath you mean now (at least i hope). You mean the blocktitle?

if so, here is what you can do, assuming you have the default theme:

align this code in theme_blockright.html (in your theme folder) to your liking by changing the div tags

<divĀ class="blockTitle"><{$block.title}>div>
<
divĀ class="blockContent"><{$block.content}>div>


or change the variables of the class: 'blockTitle' in your theme.css (also to be found in your themefolder):

Altough that will put all (right-)blocktitles on the alignement you selected.

Login

Who's Online

207 user(s) are online (51 user(s) are browsing Support Forums)


Members: 0


Guests: 207


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits