This forum is for assistance with theme development.

Trouble resizing Logo

Hi,

In an earlier post I learned that I can move the logo to a different location within the page.tpl.php.

That worked like a charm. I am getting better every day using Drupal - :-).

Here is my current dilemma. I can't get the image resized.

Using a webdev tool I see that the logo is controlled by the style tag "img". When I modified the img css tag it distorts the entire page.

I have tried:

#logo img {
height 100px;
}

img logo {
height 100px;
}

hook_custom_theme in Drupal 8

Hi there!

Maybe someone could tell me is it any equivalent of hook_custom_theme in Drupal 8?
I will really appreciate any help. :)

How to display both the summary and body in the teaser

I would like to display the summary and body in my teasers.

As of right now only the summary appears

How would I render both?

No login page

Hello guys,

I am new to Drupal so please help me!

I was trying out different themes with Drupal and I selected "Bluez" theme as my default theme..
Then I logged out of my Account and againt tried to log into my Administrator account but there was no login option on default home page of "Bluez" theme. I had to run database quries to change my default theme to
"Bartik" !!

Can anyone tell me how do I add default user login fields to my "Bluez" theme homepage?

how to add a css class inside the <img /> tag of a CCK image field

Hello,
I was trying to add the css class name "pull-right" inside the <img /> tag using theme_image() function override inside the template.php file. But, could not do it.
I am not willing to wrap the image of my Node, inside any additional <div> and and placing the css class there.
So, the final output will be something like:
<img width="301" height="285" class="pull-right" alt="" src="sites/all/themes/mythemename/img/about-img.png" />

Image won't display

Hi,

I'm trying to get an image to display by entering the following code into my page.tpl.php:
Nothing displays.

Thanks,

Stephen

Pages

Subscribe with RSS Subscribe to RSS - Theme development