Replace header image with image and text
Category: Joomla 3
I read how to hide the header image altogether (disable image module) but I would like to replace the image in Protostar template (maple.jpg) with text in between two images. If I create an image in photoshop with text in the middle then the quality of the text (large letters) is very poor - I need to use real text. Maybe I have to replace position 3 with three positions in the template. But how can I set the dimensions of a 'position'? A module position seems to be different from a box?
I appreciate your question, but I unfortunately do not know what program you're referring to. Your account makes mention of a Joomla question from last year, but there's no way for us to verify since there is no record of a hosting account. Can you please specify what you're working on? We'll be happy to help when we have the appropriate information.
If you have any further questions, please contact technical support or leave a comment at the bottom of the page.
Joomla's module positions are setup in your template's index.php file. If you wanted to modify the dimensions of a position, you could do so using CSS.
You can see first look in this tutorial how module positions are added to a template.
How can I set the dimensions of a module position?
If the code displays a position like this:
<jdoc:include type="modules" name="position-7" style="well" />
... you could put it within a div to set the width of the position, as in:
<div style='width:400px;'><jdoc:include type="modules" name="position-7" style="well" /></div>
I hope this helps point you in the right direction!
Like this Question? Tweet
It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!