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 <a href='http://www.inmotionhosting.com/support/edu/joomla-3/create-template/add-module-positions'>how module positions are added to a template</a>.
<strong>How can I set the dimensions of a module position?</strong>
If the code displays a position like this:
<div class='code_block'><jdoc:include type="modules" name="position-7" style="well" /></div>
... you could put it within a div to set the width of the position, as in:
<div class='code_block'><span style='color:red;'><div style='width:400px;'></span><jdoc:include type="modules" name="position-7" style="well" /><span style='color:red;'></div></span></div>
I hope this helps point you in the right direction!
Like this Question? Tweet
Joomla Community Google+ Hangout #3
June 3rd, 2014
Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!